mirror of
https://github.com/welton89/RRBEC.git
synced 2026-04-06 22:14:12 +00:00
nem sei pq tantos arquivos
This commit is contained in:
10
gestao_raul/Lib/site-packages/pwa/urls.py
Normal file
10
gestao_raul/Lib/site-packages/pwa/urls.py
Normal file
@@ -0,0 +1,10 @@
|
||||
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"),
|
||||
]
|
||||
Reference in New Issue
Block a user