python - Links in Google App Engine are prepended with the site URL -
python - Links in Google App Engine are prepended with the site URL -
i've had weird issue that's been stumping me days, , need working tonight. wrote app in python on google app engine (i'm assuming relevant issue), , whenever include link tag, link on live site prepended own site's url.
for example, if placed link in home page html to, say, youtube, so:
<a href="www.youtube.com">clicky here</a>
...then on live website, it'll link www.mysitedomain.com/www.youtube.com
needless say, 404 every time. hope simple issue resolve, i'm on time crunch tonight. give thanks , help!
put http:// before link, otherwise taken relative link.
<a href="http://www.youtube.com">clicky here</a>
python html google-app-engine hyperlink jinja2
Comments
Post a Comment