mirror of
https://github.com/ssep1ol/overleaf-registration-be.git
synced 2026-07-21 12:30:21 +00:00
First commit
This commit is contained in:
2
main.go
2
main.go
@@ -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{
|
||||||
|
|||||||
Reference in New Issue
Block a user