Skip to content

Commit

Permalink
Fix hardcoded 3p.ampproject.net in frame.html ampproject#7323 (amppro…
Browse files Browse the repository at this point in the history
  • Loading branch information
dknecht authored and erwinmombay committed Feb 3, 2017
1 parent 41302da commit c65e52c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ function thirdPartyBootstrap(input, outputName, shouldMinify) {
// version is not available on the absolute path.
var integrationJs = argv.fortesting
? './f.js'
: `https://3p.ampproject.net/${internalRuntimeVersion}/f.js`;
: `https://${hostname3p}/${internalRuntimeVersion}/f.js`;
// Convert default relative URL to absolute min URL.
var html = fs.readFileSync(input, 'utf8')
.replace(/\.\/integration\.js/g, integrationJs);
Expand Down

0 comments on commit c65e52c

Please sign in to comment.