mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 21:30:24 +08:00
Set server port to 8000.
This commit is contained in:
@ -21,7 +21,7 @@ export let ServerUrl = '';
|
||||
export function initServerUrl() {
|
||||
const hostname = window.location.hostname;
|
||||
if (hostname === 'localhost') {
|
||||
ServerUrl = `http://${hostname}:7000`;
|
||||
ServerUrl = `http://${hostname}:8000`;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user