mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-22 18:25:47 +08:00
Set server port to 8000.
This commit is contained in:
parent
cd39695443
commit
1483d08df7
@ -1,5 +1,5 @@
|
|||||||
appname = casdoor
|
appname = casdoor
|
||||||
httpport = 7000
|
httpport = 8000
|
||||||
runmode = dev
|
runmode = dev
|
||||||
SessionOn = true
|
SessionOn = true
|
||||||
copyrequestbody = true
|
copyrequestbody = true
|
||||||
|
@ -21,7 +21,7 @@ export let ServerUrl = '';
|
|||||||
export function initServerUrl() {
|
export function initServerUrl() {
|
||||||
const hostname = window.location.hostname;
|
const hostname = window.location.hostname;
|
||||||
if (hostname === 'localhost') {
|
if (hostname === 'localhost') {
|
||||||
ServerUrl = `http://${hostname}:7000`;
|
ServerUrl = `http://${hostname}:8000`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user