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

JS files should be loaded from main app static/js #46

Closed
totoropy opened this issue Jul 24, 2018 · 1 comment
Closed

JS files should be loaded from main app static/js #46

totoropy opened this issue Jul 24, 2018 · 1 comment

Comments

@totoropy
Copy link
Contributor

Both JS files:
serviceworker.js
webpush.js

should be loaded from main app static/js rather then django_webpush app,
because they need to be customized.

A user can include them like jquery file or so. (just extend readme.md)

@safwanrahman
Copy link
Owner

You can customize them easily
just create another directory named webpush in your static folder and overwrite the filename to load your webpush.js and others.

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

No branches or pull requests

2 participants