From f4172da4310eae7f5085fe5c964db2c91ca2fcdb Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Thu, 16 May 2024 06:49:52 +0000 Subject: [PATCH] fix: update Makefile and sample config --- Makefile | 6 +++++- config/webuicfg.yaml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 1f428380..521b465e 100644 --- a/Makefile +++ b/Makefile @@ -21,4 +21,8 @@ $(WEBCONSOLE_FRONTEND): $(WEBCONSOLE_JS_FILES) yarn install && \ yarn build && \ rm -rf ../public && \ - cp -R build ../public \ No newline at end of file + cp -R build ../public + +clean: + rm -rf $(GO_BIN_PATH)/$(WEBCONSOLE) + rm -rf public \ No newline at end of file diff --git a/config/webuicfg.yaml b/config/webuicfg.yaml index 764e63cf..232a56f8 100644 --- a/config/webuicfg.yaml +++ b/config/webuicfg.yaml @@ -15,7 +15,7 @@ configuration: enable: true hostIPv4: 127.0.0.1 listenPort: 2121 - port: 2121 + port: 2122 tls: pem: cert/chf.pem key: cert/chf.key