renzon / tekton

A full stack project based on tekton, gaegraph, gaeforms and gaepermission
MIT License
34 stars 48 forks source link

Infers app url using google app idendity API. #29

Closed giovaneliberato closed 9 years ago

giovaneliberato commented 9 years ago

16

renzon commented 9 years ago

HI Giovane,

Unfortunately this code would result on only de default vesion url. If you use a personal domain, it will not work properly. The idea is creating a funcition that returns the current domain, probably extraction it from request. Because of this, I can not merge it.

renzon commented 9 years ago

In fact the fault was mine because I mentioned the API on issue's discussion. Sorry.

giovaneliberato commented 9 years ago

Yes, you're right.. I thought that app_identity.get_default_version_hostname() would return the URL even if it was a custom domain.

But extracting the url from request will work when settings.py runs?