From 1483d08df7e1721d9fde90ef3b170f5f1aff9af4 Mon Sep 17 00:00:00 2001 From: Yang Luo Date: Mon, 18 Jan 2021 20:26:06 +0800 Subject: [PATCH] Set server port to 8000. --- conf/app.conf | 2 +- web/src/Setting.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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`; } }