Fixed execution debugging info
This commit is contained in:
@@ -2872,8 +2872,8 @@ func setUser(ctx context.Context, data *User) error {
|
||||
|
||||
// Used for testing only. Shouldn't impact production.
|
||||
func handleCors(resp http.ResponseWriter, request *http.Request) bool {
|
||||
//allowedOrigins := "*"
|
||||
allowedOrigins := "http://localhost:3000"
|
||||
//allowedOrigins := "http://localhost:3000"
|
||||
allowedOrigins := "http://localhost:3002"
|
||||
|
||||
resp.Header().Set("Vary", "Origin")
|
||||
resp.Header().Set("Access-Control-Allow-Headers", "Content-Type, Accept, X-Requested-With, remember-me")
|
||||
|
||||
Reference in New Issue
Block a user