diff --git a/conf/app.conf b/conf/app.conf index 2ecfdfd4..3f5ae7bb 100644 --- a/conf/app.conf +++ b/conf/app.conf @@ -1,5 +1,5 @@ appname = casdoor -httpport = 7000 +httpport = 8000 runmode = dev SessionOn = true copyrequestbody = true diff --git a/web/src/Setting.js b/web/src/Setting.js index a3c55f2d..5147e430 100644 --- a/web/src/Setting.js +++ b/web/src/Setting.js @@ -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`; } }