feat(tkuser): 알림 시스템 이관 system1-factory → tkuser
- Phase 1: tkuser에 알림 CRUD, Push/ntfy 발송, 내부 알림 API 추가 - Phase 2: notifyHelper URL을 tkuser-api:3000으로 전환 (system2, tkpurchase, tksafety, system1) - Phase 3: notification-bell.js API 도메인 tkuser로 변경 + 캐시 버스팅 v=4 - Phase 4: system1에서 알림 코드 제거 (routes, controllers, models, utils) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -16,8 +16,8 @@
|
||||
var DROPDOWN_LIMIT = 5;
|
||||
var API_ORIGIN = (function () {
|
||||
var h = window.location.hostname;
|
||||
if (h.includes('technicalkorea.net')) return 'https://tkfb.technicalkorea.net';
|
||||
return window.location.protocol + '//' + h + ':30005';
|
||||
if (h.includes('technicalkorea.net')) return 'https://tkuser.technicalkorea.net';
|
||||
return window.location.protocol + '//' + h + ':30300';
|
||||
})();
|
||||
var API_BASE = API_ORIGIN + '/api/notifications';
|
||||
var PUSH_API_BASE = API_ORIGIN + '/api/push';
|
||||
|
||||
Reference in New Issue
Block a user