mirror of
https://github.com/hazemKrimi/touch-programming.git
synced 2026-05-01 18:20:26 +00:00
Fixes and improvements
This commit is contained in:
+3
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user