Set server port to 8000.

This commit is contained in:
Yang Luo 2021-01-18 20:26:06 +08:00
parent cd39695443
commit 1483d08df7
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
appname = casdoor
httpport = 7000
httpport = 8000
runmode = dev
SessionOn = true
copyrequestbody = true

View File

@ -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`;
}
}