Skip to content

Commit

Permalink
Merge pull request #48 from dknecht/corsupdate
Browse files Browse the repository at this point in the history
Add additional amp cache test domains
  • Loading branch information
sebastianbenz authored Aug 11, 2016
2 parents b2d6817 + 24e824d commit 836ee94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion middlewares/amp-access-cors.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

var url = require('url');

var VALID_AMP_ORIGINS = [/.*\.ampproject\.org/g];
var VALID_AMP_ORIGINS = [/.*\.ampproject\.org/g, /cdn\.edgeamp\.org/g, /amp\.cloudflare\.com/g, /cdn\.ampcache\.org/g];
var VALID_SOURCE_ORIGINS = [/ampbyexample\.com/g, /amp-by-example-staging\.appspot\.com/g, /rocky-sierra-1919\.herokuapp\.com/g];

/**
Expand Down

0 comments on commit 836ee94

Please sign in to comment.