generated from VLADIMIR/template_frontend
try fix api
This commit is contained in:
@@ -129,5 +129,6 @@ export const updateNode = async (code: string, node: GraphNode) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getApiUrl(path: string) {
|
function getApiUrl(path: string) {
|
||||||
return 'http://' + window.location.host.split(':')[0] + ':8090' + path
|
// return 'http://' + window.location.host.split(':')[0] + ':8090' + path
|
||||||
|
return 'https://evening-detective-api.crabs-games.art' + path
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user