add api path

This commit is contained in:
Gianni Carafa
2023-11-02 18:25:31 +01:00
parent ca26f6d88d
commit aa1caaca98
4 changed files with 81 additions and 4 deletions

View File

@@ -20,6 +20,7 @@ func main() {
app.Get("/", handlers.Form)
app.Get("debug/*", handlers.Debug)
app.Get("api/*", handlers.Api)
app.Get("/*", handlers.ProxySite)
port := os.Getenv("PORT")