Fixes and improvements

This commit is contained in:
2025-04-10 19:10:57 +01:00
parent 9f715ac17a
commit 660fb0c642
5 changed files with 28 additions and 36 deletions
+3 -1
View File
@@ -26,7 +26,9 @@ func main() {
ech := echo.New()
ech.Use(middleware.CORS())
ech.Use(middleware.CORSWithConfig(middleware.CORSConfig{
AllowOrigins: []string{"https://touch-programming.hazemkrimi.tech"},
}))
ech.GET("/generate", handlers.Generate)