mirror of
https://github.com/coder/code-server.git
synced 2024-12-27 03:34:06 +03:00
use local workbox to simplify csp
Co-Authored-By: Ian Reinhart Geiser <geiseri@geekcentral.pub>
This commit is contained in:
parent
46207cfe10
commit
9b5a43e4bd
@ -68,6 +68,7 @@ module.exports = (options = {}) => merge(
|
||||
})
|
||||
].concat(prod ? [
|
||||
new GenerateSW({
|
||||
importWorkboxFrom: "local",
|
||||
include: [cachePattern],
|
||||
runtimeCaching: [{
|
||||
urlPattern: cachePattern,
|
||||
|
Loading…
Reference in New Issue
Block a user