feat!: change default port and scope

BREAKING CHANGE: the default port is no longer random, but 6065. The default scope is now the current directory instead of the root directory.
This commit is contained in:
Henrique Dias
2024-07-29 10:11:02 +02:00
parent e7e9c3176d
commit ed23ca1820
4 changed files with 10 additions and 8 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ import (
)
const (
DefaultScope = "/"
DefaultScope = "."
DefaultModify = false
DefaultDebug = false
DefaultNoSniff = false
@@ -21,7 +21,7 @@ const (
DefaultCert = "cert.pem"
DefaultKey = "key.pem"
DefaultAddress = "0.0.0.0"
DefaultPort = 0
DefaultPort = 6065
DefaultPrefix = "/"
DefaultLogFormat = "console"
)