Skip to content

Commit

Permalink
fix cors url
Browse files Browse the repository at this point in the history
  • Loading branch information
Yann Guillon committed Aug 4, 2022
1 parent 4dfeecd commit 84de425
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
require 'sinatra'
require 'faraday'
require 'uri'
require "sinatra/cors"

set :allow_origin, "https://socialclaim.notifier.sh http://localhost:3000"
set :allow_origin, "https://socialclaim.nescrypto.com http://localhost:3000"
set :allow_methods, "GET,HEAD,POST"
set :allow_headers, "content-type,if-modified-since"
set :expose_headers, "location,link"
Expand Down

0 comments on commit 84de425

Please sign in to comment.