fix: use HTTPS URL in firebase.js
All checks were successful
Build frontend / build (push) Successful in 40s

This commit is contained in:
Claw AI
2026-03-31 22:53:34 +00:00
parent 98c3f51df2
commit 6ad2457e74

View File

@ -49,7 +49,7 @@ export async function requestNotificationPermission() {
try { try {
const authToken = localStorage.getItem("auth_token"); const authToken = localStorage.getItem("auth_token");
if (authToken) { if (authToken) {
const apiBase = process.env.NEXT_PUBLIC_API_URL || "http://45.93.137.91/api"; const apiBase = process.env.NEXT_PUBLIC_API_URL || "https://45.93.137.91.nip.io/api";
await fetch(`${apiBase}/User/SetFCMToken`, { await fetch(`${apiBase}/User/SetFCMToken`, {
method: "POST", method: "POST",
headers: { headers: {