From b9f5dec9dec99b162859136da6372819b137a9d7 Mon Sep 17 00:00:00 2001 From: Akilan Date: Fri, 25 Apr 2025 23:53:00 +0100 Subject: [PATCH] added static server --- Docs/run-docs.sh | 2 +- Docs/staticServer.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Docs/run-docs.sh b/Docs/run-docs.sh index 6a7a362..59b90cf 100644 --- a/Docs/run-docs.sh +++ b/Docs/run-docs.sh @@ -1 +1 @@ -python3 -m http.server 8083 & +go run staticServer.go & diff --git a/Docs/staticServer.go b/Docs/staticServer.go index c88ae4a..0a125d3 100644 --- a/Docs/staticServer.go +++ b/Docs/staticServer.go @@ -17,7 +17,7 @@ import ( ) func main() { - port := flag.String("p", "8100", "port to serve on") + port := flag.String("p", "8083", "port to serve on") directory := flag.String("d", ".", "the directory of static file to host") flag.Parse()