Skip to content

Commit

Permalink
update cors url
Browse files Browse the repository at this point in the history
  • Loading branch information
aholachek committed Oct 23, 2016
1 parent 051a4fa commit 19c7064
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api_server.js
Expand Up @@ -12,7 +12,7 @@ app.use(bodyParser.json());
//allow requests only from my website and localhost

var corsOptions = {
origin: [/^http:\/\/alex\.holachek\.com.*/]
origin: [/^https:\/\/lets-do-dinner.firebaseapp.com\/*/]
};

if (process.env.NODE_ENV === 'development'){
Expand Down

0 comments on commit 19c7064

Please sign in to comment.