First commit

This commit is contained in:
corrado.mulas
2024-11-20 17:11:48 +01:00
parent 05aa2a9008
commit c7881f9c4c

View File

@@ -28,7 +28,7 @@ func main() {
// Set up HTTP routes // Set up HTTP routes
mux := http.NewServeMux() mux := http.NewServeMux()
mux.HandleFunc("/register", registerHandler) mux.HandleFunc("/signup", registerHandler)
// Apply CORS middleware // Apply CORS middleware
c := cors.New(cors.Options{ c := cors.New(cors.Options{