mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 14:36:01 +00:00
#228 running dbgate on subpath
This commit is contained in:
@@ -9,7 +9,7 @@ export default function resolveApi() {
|
||||
if (apiUrl) {
|
||||
return apiUrl;
|
||||
}
|
||||
return window.location.origin;
|
||||
return window.location.href.replace(/\/*$/, '');
|
||||
}
|
||||
|
||||
export function resolveApiHeaders() {
|
||||
|
||||
Reference in New Issue
Block a user