diff options
Diffstat (limited to 'internal/server/server.go')
-rw-r--r-- | internal/server/server.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/server/server.go b/internal/server/server.go index 469485f..aa979f4 100644 --- a/internal/server/server.go +++ b/internal/server/server.go @@ -32,7 +32,7 @@ var ( ) type Config struct { - Root string `conf:"default:website"` + Root string `conf:"default:public"` Redirect bool `conf:"default:true"` ListenAddress string `conf:"default:localhost"` Port int `conf:"default:8080,short:p"` @@ -132,7 +132,7 @@ func New(runtimeConfig *Config) (*Server, error) { if err != nil { return nil, err } - runtimeConfig.Root = "website" + runtimeConfig.Root = "public" } config, err := cfg.GetConfig() |