DockYard/ember-service-worker

Will not allow empty sting as rootURL

kylemellander opened this issue · 2 comments

in the index.js, it finds the settings for the rootURL. However, it only looks to see if they are truthy or not. So for an app that has its rootURL at '', it actually sets it to '/'

This is actually a feature in Ember ¯_(ツ)_/¯

Actually, ember now accepts empty string as rootURL.

I'm also having trouble with this with a cordova app that expects rootURL to be ''.

Reference here: ember-cli/ember-cli#6182