feat: don't use random version
This commit is contained in:
parent
8e7bb178f8
commit
975777fffa
1 changed files with 1 additions and 2 deletions
3
index.js
3
index.js
|
@ -6,7 +6,6 @@
|
|||
|
||||
import { readFile, writeFile, readdir, unlink } from 'node:fs/promises';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
import { randomUUID } from "node:crypto";
|
||||
import path from 'pathe';
|
||||
import { build } from 'esbuild';
|
||||
|
||||
|
@ -41,7 +40,7 @@ const ASTROSW = '@ayco/astro-sw';
|
|||
export default function serviceWorker(options) {
|
||||
let {
|
||||
assetCachePrefix = ASTROSW,
|
||||
assetCacheVersionID = randomUUID(),
|
||||
assetCacheVersionID = '0',
|
||||
path: serviceWorkerPath = undefined,
|
||||
customRoutes = [],
|
||||
excludeRoutes = [],
|
||||
|
|
Loading…
Reference in a new issue