Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

change scope to subpath root instead of domain root so PWA will be installable on subpath #5920

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

Closed
tobycm wants to merge 1 commit into coder:main from tobycm:main

Conversation

Copy link
Contributor

@tobycm tobycm commented Dec 24, 2022
edited
Loading

Fixes #5922

@tobycm tobycm requested a review from a team as a code owner December 24, 2022 22:49
Copy link
Contributor

jsjoeio commented Jan 3, 2023

Thank you for doing this! Since we don't have e2e tests for this patch, what is your proposed testing plan?

cc @code-asher - mind helping review?

Copy link
Member

code-asher commented Jan 3, 2023
edited
Loading

I might be missing something. This seems to do the opposite of the PR title?

Before changeset: domain.tld/a/b/c/code/ would register at ./ which is domain.tld/a/b/c/code/ (register on subpath root)
After changeset: domain.tld/a/b/c/code would register at / which is domain.tld (register on domain root)

@tobycm tobycm changed the title (削除) change scope to subpath root instead of domain root so service worker will work on subpath (削除ここまで) (追記) change scope to subpath root instead of domain root so PWA will be installable on subpath (追記ここまで) Jan 3, 2023
Copy link
Contributor Author

tobycm commented Jan 3, 2023

My bad guys. The service worker works, just the PWA is not installable.

Copy link
Contributor

jsjoeio commented Jan 3, 2023

My bad guys. The service worker works, just the PWA is not installable.

Ah got it. And does this fix that? I posted in the original issue that it works as expected on Coder so I think first we'd need steps to reproduce.

code-asher and tobycm reacted with thumbs up emoji

Copy link
Contributor Author

tobycm commented Jan 4, 2023

I will reproduce this again when I got my Ubuntu Server up and running.

(don't know why it's failing installing GRUB 5 times in a row 😭 )

jsjoeio and code-asher reacted with thumbs up emoji

@code-asher code-asher added the waiting-for-info Waiting for more information from submitter label Feb 13, 2023
ghost

This comment was marked as spam.

Copy link
Member

@tobycm I am going to close the PR for inactivity but if you start working on it again we can re-open.

tobycm reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
2 more reviewers

@Ohhwshet Ohhwshet Ohhwshet approved these changes

Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Labels
waiting-for-info Waiting for more information from submitter
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

[Bug]: PWA is not installable when code-server is on subpath

AltStyle によって変換されたページ (->オリジナル) /