From 5a7724d542b52b37aecaffdf89405e20a5dfccea Mon Sep 17 00:00:00 2001 From: codeskyblue Date: Fri, 26 Mar 2021 18:11:33 +0800 Subject: [PATCH] support prefix, need more test --- assets/index.html | 29 +++++----- httpstaticserver.go | 129 +++++++++++++++++++++++--------------------- main.go | 48 ++++++++++++++--- utils.go | 16 ++++++ utils_test.go | 22 ++++++++ 5 files changed, 162 insertions(+), 82 deletions(-) diff --git a/assets/index.html b/assets/index.html index 0735c41..afff079 100644 --- a/assets/index.html +++ b/assets/index.html @@ -261,19 +261,22 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + +