new file: frontend/nginx.conf

This commit is contained in:
2026-05-15 20:19:47 +03:00
parent 641f9e1d8c
commit 6fc7072639
4 changed files with 35 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
// frontend/js/api.js
const API_BASE = "http://localhost:5000/api";
const API_BASE = "/api";
function getHeaders() {
const token = localStorage.getItem('token');