Skip to content

point out that localhost urls are also fine#1179

Merged
dvoytenko merged 1 commit intoampproject:masterfrom
johnduffell:patch-1
Jan 4, 2016
Merged

point out that localhost urls are also fine#1179
dvoytenko merged 1 commit intoampproject:masterfrom
johnduffell:patch-1

Conversation

@johnduffell
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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