Skip to content

Commit

Permalink
Update CORS resp headers
Browse files Browse the repository at this point in the history
  • Loading branch information
yanecc committed Jul 5, 2024
1 parent 82cd8e9 commit 5e4bf6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mockgpt/cors.cr
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ class CrossOriginResourceSharing
include HTTP::Handler

def call(context : HTTP::Server::Context)
context.response.headers.add "Server", "Grip/v2"
context.response.headers.add "Server", "Grip/v3"
context.response.headers.add "Access-Control-Allow-Origin", "*"
context.response.headers.add "Access-Control-Allow-Headers", "*"
context.response.headers.add "Access-Control-Allow-Credentials", "true"
Expand Down

0 comments on commit 5e4bf6c

Please sign in to comment.