aboutsummaryrefslogtreecommitdiff
path: root/server_options.go
diff options
context:
space:
mode:
Diffstat (limited to 'server_options.go')
-rw-r--r--server_options.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/server_options.go b/server_options.go
index 5197ffd..4a033fc 100644
--- a/server_options.go
+++ b/server_options.go
@@ -24,6 +24,10 @@ type ServerOptions struct {
// The address to listen for HTTP server and APIs.
Address string `ini:"server::address"`
+
+ // IsDevelopment run the server in development mode with direct access
+ // to file system in _www instead of using [embed.FS].
+ IsDevelopment bool
}
// init initialize the server by reading the configuration from