mirror of
https://github.com/sergi0g/cup.git
synced 2025-11-11 14:43:49 -05:00
Update frontend
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user