couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Broerse <i...@martinbroerse.com>
Subject Re: detect vhost
Date Wed, 30 Dec 2015 13:52:18 GMT
Hej,

If you know some doc about reading the vhost API setting please post a
link. For now I solved this by logging the base href you can set to the
screen and point to ENV.baseURL in the doc. But you still need to do this
by hand. See: https://github.com/martinic/ember-cli-deploy-couchdb.

Happy new Year!

- Martin


On Wed, Dec 2, 2015 at 2:42 PM, Martin Broerse <info@martinbroerse.com>
wrote:

> Hi All,
>
> Ember needs to set <base href="/" /> or <base href="
> /emberapp/_design/ddocname/_rewrite/" /> depending on the CouchDB vhost
> setting.
>
> I was wondering if I can detect if a vhost setting is used in:
>
> https://github.com/martinic/ember-cli-deploy-couchdb
>
> Is the setting exported by cloudant?
>
> If it is, it would make it possible to hide complex _rewrite urls's from
> ember-cli-deploy users.
>
> - Martin
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message