move flag parsing to main, add debug mime types

This commit is contained in:
2025-09-25 00:27:24 +00:00
parent fc42de2c49
commit d95a82f248
3 changed files with 44 additions and 7 deletions

View File

@@ -1,9 +1,12 @@
package main
import (
"flag"
app "proxmoxaas-dashboard/app"
)
func main() {
app.Run()
configPath := flag.String("config", "config.json", "path to config.json file")
flag.Parse()
app.Run(configPath)
}