generated from VLADIMIR/template_frontend
fix
This commit is contained in:
@@ -14,8 +14,8 @@ export const apiGetDays = async (): Promise<Schedule> => {
|
||||
}
|
||||
|
||||
export function getApiUrl(path: string) {
|
||||
// const url = 'https://' + window.location.host.split(':')[0] + path
|
||||
const url = 'http://localhost:8210' + path
|
||||
const url = 'https://' + window.location.host.split(':')[0] + path
|
||||
// const url = 'http://localhost:8210' + path
|
||||
return url
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user