generated from VLADIMIR/template_frontend
fix
This commit is contained in:
@@ -29,6 +29,8 @@
|
||||
|
||||
/* semantic color variables for this project */
|
||||
:root {
|
||||
color-scheme: only dark;
|
||||
|
||||
--color-background: var(--vt-c-white);
|
||||
--color-background-soft: var(--vt-c-white-soft);
|
||||
--color-background-mute: var(--vt-c-white-mute);
|
||||
|
||||
@@ -71,8 +71,9 @@ export const apiGetGame = async (login: string, password: string): Promise<Game>
|
||||
}
|
||||
|
||||
export function getApiUrl(path: string) {
|
||||
const url = 'http://' + window.location.host.split(':')[0] + ':8090' + path
|
||||
return url
|
||||
// const url = 'http://' + window.location.host.split(':')[0] + ':8090' + path
|
||||
// return url
|
||||
return 'https://evening-detective-api.crabs-games.art' + path
|
||||
}
|
||||
|
||||
export function encodeUTF8ToBase64(s: string) {
|
||||
|
||||
Reference in New Issue
Block a user