Skip to content

Commit

Permalink
fix: use https origin
Browse files Browse the repository at this point in the history
  • Loading branch information
jessepinho committed Mar 20, 2020
1 parent 370c5ee commit 791022e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ proxy.on('proxyRes', function(proxyRes, req, res) {
if (process.env.NODE_ENV === 'development') {
res.setHeader('Access-Control-Allow-Origin', '*');
} else {
res.setHeader('Access-Control-Allow-Origin', 'http://trumpymctweetface.com');
res.setHeader('Access-Control-Allow-Origin', 'https://trumpymctweetface.com');
}
});

Expand Down

0 comments on commit 791022e

Please sign in to comment.