fix: use HTTPS URL in firebase.js
All checks were successful
Build frontend / build (push) Successful in 40s
All checks were successful
Build frontend / build (push) Successful in 40s
This commit is contained in:
@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user