aboutsummaryrefslogtreecommitdiff
path: root/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'server.go')
-rw-r--r--server.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/server.go b/server.go
index 7969ca2..f4401e8 100644
--- a/server.go
+++ b/server.go
@@ -17,6 +17,7 @@ import (
)
const (
+ defRootDir = "_www-kbbi"
defListen = ":3394"
emptyResponse = "{}"
)
@@ -45,7 +46,7 @@ type Server struct {
//
func NewServer(kamusStorage string) (server *Server, err error) {
opts := &http.ServerOptions{
- Root: "_content",
+ Root: defRootDir,
Address: defListen,
}