token required

This commit is contained in:
Tommy Parnell
2022-02-04 12:33:05 -05:00
parent b5abee7fc3
commit 70087990cd

View File

@@ -12,7 +12,8 @@ import (
func main() {
token := os.Getenv("API_TOKEN")
if token == "" {
token = "ckynqopsk0002zp6ehp2n6d5n"
log.Fatal("API_TOKEN is required")
os.Exit(1)
}
app := fiber.New()
app.Use(logger.New(logger.Config{