mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-05 21:45:41 +00:00
11 lines
352 B
Python
11 lines
352 B
Python
from django.urls import path, re_path
|
|
|
|
from .views import manifest, offline, service_worker
|
|
|
|
# Serve up serviceworker.js and manifest.json at the root
|
|
urlpatterns = [
|
|
re_path(r"^serviceworker\.js$", service_worker, name="serviceworker"),
|
|
re_path(r"^manifest\.json$", manifest, name="manifest"),
|
|
path("offline/", offline, name="offline"),
|
|
]
|