mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 21:30:24 +08:00
fix: swagger bug in dev mode (#291)
Signed-off-by: sh1luo <690898835@qq.com>
This commit is contained in:
@ -43,7 +43,7 @@ export function initServerUrl() {
|
||||
}
|
||||
}
|
||||
|
||||
function isLocalhost() {
|
||||
export function isLocalhost() {
|
||||
const hostname = window.location.hostname;
|
||||
return hostname === "localhost";
|
||||
}
|
||||
|
Reference in New Issue
Block a user