Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rootURL option #30

Merged
merged 1 commit into from
Aug 17, 2016
Merged

Add rootURL option #30

merged 1 commit into from
Aug 17, 2016

Conversation

andrei-zhidkov
Copy link

Hi,
I've noticed that '/' URL is prefetched by default, and there is no way to affect this from configuration.
This will break the service worker if the application is hosted on a non-root URL, and root URL is unavailable for some reason.

This PR adds a rootURL option, which defaults to rootURL or baseURL when used in form of Ember addon, and to '/' when used directly.

@jkleinsc
Copy link
Owner

@andrei-zhidkov thanks for the PR! Looks good to me. I'll merge it in.

@jkleinsc jkleinsc merged commit 1c482b6 into jkleinsc:master Aug 17, 2016
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.

2 participants