Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write AMP_CONFIG to 3p frame to enable local development #12703

Merged
merged 2 commits into from Jan 8, 2018
Merged

Write AMP_CONFIG to 3p frame to enable local development #12703

merged 2 commits into from Jan 8, 2018

Conversation

rsimha
Copy link
Contributor

@rsimha rsimha commented Jan 8, 2018

This PR causes gulp | gulp watch | gulp build | gulp dist --fortesting to write AMP_CONFIG to the 3p frame target file in addition to the AMP runtime file. This enables testing with non-localhost servers.

In addition, now that we're writing AMP_CONFIG by default to the runtime file and the 3p frame file, we can simplify the heroku setup scripts to no longer have to invoke gulp prepend-global.

For context, see #12054 (comment)

Follow up to #12673
Unblocks #12666
Fixes #12054

@rsimha
Copy link
Contributor Author

rsimha commented Jan 8, 2018

/to @erwinmombay @bradfrizzell @lannka

@rsimha rsimha changed the title Fix ads served from non-localhost servers: Redux Write AMP_CONFIG to 3p frame to enable local development Jan 8, 2018
@rsimha rsimha merged commit a1d0b5b into ampproject:master Jan 8, 2018
@rsimha rsimha deleted the 2018-01-08-Fix3pFrames branch January 8, 2018 22:11
gzgogo pushed a commit to gzgogo/amphtml that referenced this pull request Jan 26, 2018
RanAbram pushed a commit to RanAbram/amphtml that referenced this pull request Mar 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants