diff --git a/public/js/fcm.js b/public/js/fcm.js index 3fc6bf33..38906260 100644 --- a/public/js/fcm.js +++ b/public/js/fcm.js @@ -116,7 +116,7 @@ headers['X-API-KEY'] = CONFIG.apiKeyHeader; } - const response = await fetch(`${CONFIG.apiBaseUrl}/api/push/register-token`, { + const response = await fetch(`${CONFIG.apiBaseUrl}/api/v1/push/register-token`, { method: 'POST', headers, body: JSON.stringify({ @@ -149,7 +149,7 @@ try { if (accessToken) { - await fetch(`${CONFIG.apiBaseUrl}/api/push/unregister-token`, { + await fetch(`${CONFIG.apiBaseUrl}/api/v1/push/unregister-token`, { method: 'POST', headers: { 'Content-Type': 'application/json',