Skip to content

fix(aio): do not rewrite /styleguide URL in Service Worker #22085

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

Conversation

petebacondarwin
Copy link
Contributor

This URL needs to be redirected via the server, so
we must exclude it from being rewitten.

Closes #22078

This URL needs to be redirected via the server, so
we must exclude it from being rewitten.

Closes angular#22078
@petebacondarwin petebacondarwin added action: review The PR is still awaiting reviews from at least one requested reviewer comp: aio target: patch This PR is targeted for the next patch release labels Feb 8, 2018
@petebacondarwin
Copy link
Contributor Author

The firebase redirect was setup correctly, which you can confirm by hitting the server directly with a request for /styleguide but our Service Worker was trying to rewrite the URL to index.html as this rule had got lost during the big vowel shift.

@mary-poppins
Copy link

You can preview 8e1f1e3 at https://pr22085-8e1f1e3.ngbuilds.io/.

@gkalpak gkalpak added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Feb 8, 2018
@mhevery
Copy link
Contributor

mhevery commented Feb 8, 2018

@petebacondarwin This PR does not cleanly apply to 5.2.x branch. Can you break it into two separate PRs, once fro master and one for 5.2.x, then update the PR target: as needed

@mhevery mhevery added the action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews label Feb 8, 2018
@IgorMinar
Copy link
Contributor

IgorMinar commented Feb 8, 2018 via email

@petebacondarwin
Copy link
Contributor Author

We never landed the original Firebase redirect fixes on stable - we were trying it on master. I am putting together a PR for that and this against stable.

@petebacondarwin petebacondarwin added target: major This PR is targeted for the next major release and removed action: cleanup The PR is in need of cleanup, either due to needing a rebase or in response to comments from reviews target: patch This PR is targeted for the next patch release labels Feb 8, 2018
@mhevery mhevery closed this in 5fc77c9 Feb 9, 2018
jbogarthyde pushed a commit to jbogarthyde/angular that referenced this pull request Feb 23, 2018
…2085)

This URL needs to be redirected via the server, so
we must exclude it from being rewitten.

Closes angular#22078

PR Close angular#22085
@petebacondarwin petebacondarwin deleted the aio-fix-styleguide-redirect branch February 25, 2018 10:00
leo6104 pushed a commit to leo6104/angular that referenced this pull request Mar 25, 2018
…2085)

This URL needs to be redirected via the server, so
we must exclude it from being rewitten.

Closes angular#22078

PR Close angular#22085
@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
action: merge The PR is ready for merge by the caretaker cla: yes target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aio: redirect https://angular.io/styleguide -> guide/styleguide
6 participants