mirror of
https://github.com/FoggedLens/deflock.git
synced 2026-10-08 16:31:09 +02:00
strip /api
This commit is contained in:
1 parent
efe072f97e
commit
d3e37e366f
2 files changed
+4
-4
No files matched your search
@@ -48,7 +48,7 @@ export class BoundingBox implements BoundingBoxLiteral {
|
||||
}
|
||||
|
||||
const apiService = axios.create({
|
||||
baseURL: window.location.hostname === "localhost" ? "http://localhost:3000/api" : "/api",
|
||||
baseURL: window.location.hostname === "localhost" ? "http://localhost:3000" : "https://api.deflock.org",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user