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

point out that localhost urls are also fine #1179

Merged
merged 1 commit into from
Jan 4, 2016

Conversation

johnduffell
Copy link
Contributor

In the error message we can't use relative urls, but if it were localhost it would be fine. Since when developing locally we often use www.thegulocal.com as a convention for localhost, it would be better to point out the problem in the message.

It would actually be better to allow relative urls, but it would require the google cache to make a note of the original hostname when rewriting the URLs. If you could do that, it would be ideal.

@ampsauce
Copy link

Tests failed. Automated cross-browser testing via Sauce Labs and Travis CI shows that the JavaScript changes in this pull request are: BUSTED

Commit: 4b628af
Build details: https://travis-ci.org/ampsauce/amphtml/builds/97422589

(Please note that this is a fully automated comment.)

@dvoytenko
Copy link
Contributor

LGTM. Thanks!

dvoytenko added a commit that referenced this pull request Jan 4, 2016
point out that localhost urls are also fine
@dvoytenko dvoytenko merged commit 0e9b608 into ampproject:master Jan 4, 2016
@johnduffell johnduffell deleted the patch-1 branch July 11, 2018 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants