Feat: optional reset
All checks were successful
Go test / run-go-vet (push) Successful in 7s
Go test / check-swagger-up-to-date (push) Successful in 10s
Go test / run-go-test (push) Successful in 30s
Go test / cleanup-go-test (push) Successful in 4s
Go test / release-image (push) Successful in 3m36s

This commit is contained in:
2025-12-12 22:38:36 +08:00
parent e537d83c19
commit 44a3bf64c1
2 changed files with 13 additions and 1 deletions

View File

@@ -145,6 +145,8 @@ func init() {
String("cors-origin", "", "CORS origin")
serveCmd.Flags().
String("preshared-key", "poop", "Preshared key for Discord Bot")
serveCmd.Flags().
Bool("reset", false, "Reset database")
serveCmd.Flags().
Int64("access-token-timeout", 300, "Timeout of Access Token JWT")