This repository has been archived on 2021-04-21. You can view files and clone it, but cannot push or open issues or pull requests.
djangoldp-webpushnotification/djangoldp_webpushnotification/urls.py
2021-04-07 15:56:09 +02:00

16 lines
370 B
Python

from django.urls import include, path
from django.views.generic import TemplateView
from .views import home, send_push
urlpatterns = [
path("send_push", send_push),
path("webpush/", include("webpush.urls")),
path(
"sw.js",
TemplateView.as_view(
template_name="sw.js", content_type="application/x-javascript"
),
),
]