Take a first stab at offline mode support
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
import "initializers/current"
|
||||
import "initializers/bridge/bridge_element"
|
||||
import "initializers/offline"
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
import { Turbo } from "@hotwired/turbo-rails"
|
||||
|
||||
Turbo.offline.start("/service-worker.js", {
|
||||
scope: "/",
|
||||
native: true
|
||||
})
|
||||
Reference in New Issue
Block a user