m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-11 14:43:49 -05:00

Update frontend

This commit is contained in:
Sergio
2024-10-25 16:26:28 +03:00
parent 5c4de36052
commit bcfb9ef27a
11 changed files with 197 additions and 49 deletions

View File

@@ -15,8 +15,8 @@ export default function RefreshButton() {
request.open(
"GET",
process.env.NODE_ENV === "production"
? "/refresh"
: `http://${window.location.hostname}:8000/refresh`,
? "/api/v1/refresh"
: `http://${window.location.hostname}:8000/api/v1/refresh`,
);
request.send();
};