Compare commits

...

3 Commits

Author SHA1 Message Date
03312a0079
Fix accidentally registering same handler twice 2024-12-31 01:50:58 +01:00
a91163f845
config 2024-12-30 16:57:05 +01:00
7d28d1cea8 Merge pull request 'speedLimiter' (#10) from speedLimiter into main
Reviewed-on: #10
2024-12-30 16:47:45 +01:00
2 changed files with 2 additions and 4 deletions

View File

@ -1,11 +1,11 @@
[General]
BaseDir = "/mnt/Media"
BaseDir = "/mnt/media"
Format = "mkv"
TempBaseDir = "/tmp/nre"
EnableConsole = true
[WatchFolder]
Path = "/mnt/Watched"
Path = "/mnt/watched"
PollingInterval = 10
UsePolling = false
UseInotify = false

View File

@ -72,8 +72,6 @@ func main() {
}
processItems(*inputFile, items)
}
http.HandleFunc("/set-speed-limit", handleSetSpeedLimit)
}
func startWebServer() {