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

service-worker should allow bypassing it for some configurable url's (e.g. swagger-ui) #20933

Closed
areijngoudt opened this issue Dec 11, 2017 · 2 comments
Labels
area: service-worker Issues related to the @angular/service-worker package

Comments

@areijngoudt
Copy link

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

In Express, I configured the /docs route te serve swagger-ui.
With service-worker in place, it 'eats' the /docs route and navigates to the normal webapp.

Expected behavior

Please make it possible to configure URL's to bypass the service-worker behavior and just pass them to the webserver.

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment


Angular version: 5.1.0


Browser:
- [ x] Chrome (desktop) version 63
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
For Tooling issues:
- Node version: XX  
- Platform:  
Mac

Others:

@jasonaden jasonaden added the area: service-worker Issues related to the @angular/service-worker package label Dec 11, 2017
@alxhub
Copy link
Member

alxhub commented Dec 12, 2017

Closing as a duplicate of #20404.

@alxhub alxhub closed this as completed Dec 12, 2017
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: service-worker Issues related to the @angular/service-worker package
Projects
None yet
Development

No branches or pull requests

3 participants