-
Notifications
You must be signed in to change notification settings - Fork 561
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
feat: add PWA support #919
base: master
Are you sure you want to change the base?
Conversation
Hey, figured out what's happening. You need to edit package views
import "embed"
//go:embed assets/js/* assets/css/* assets/res/* assets/manifest.webmanifest
var Assets embed.FS
//go:embed *.html
var Templates embed.FS |
allright ! got a basic pwa installed on my phone that doesn't really do anything special right now ! |
That particular API has not been migrated yet. What are the requirements of the share-target for a PWA? I'm not familiar with that. |
Its just doing a html request to an url. I can actually get it in the service worker and do something there, I'll do a fetch with the correct data to the same endpoint used in the api and the frontend |
It's not forgottend I just didn't have time to work on this ! |
No-one is rushing you, you can take all the time you need :) |
Signed-off-by: Mel <[email protected]>
Closes #325