feat: dont' use sw for now
This commit is contained in:
parent
3906325662
commit
8b71f6ab69
1 changed files with 13 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
||||||
import { defineConfig } from 'astro/config';
|
import { defineConfig } from 'astro/config';
|
||||||
import serviceWorker from '@ayco/astro-sw';
|
// import serviceWorker from '@ayco/astro-sw';
|
||||||
import sitemap from "@astrojs/sitemap";
|
import sitemap from "@astrojs/sitemap";
|
||||||
|
|
||||||
// https://astro.build/config
|
// https://astro.build/config
|
||||||
|
@ -7,17 +7,17 @@ export default defineConfig({
|
||||||
site: 'https://ayo.ayco.io',
|
site: 'https://ayo.ayco.io',
|
||||||
integrations: [
|
integrations: [
|
||||||
sitemap(),
|
sitemap(),
|
||||||
serviceWorker({
|
// serviceWorker({
|
||||||
path: './src/sw.mjs',
|
// path: './src/sw.mjs',
|
||||||
assetCachePrefix: 'ayco-personal-site',
|
// assetCachePrefix: 'ayco-personal-site',
|
||||||
assetCacheVersionID: 'hey-mama',
|
// assetCacheVersionID: 'hey-mama',
|
||||||
logAssets: true,
|
// logAssets: true,
|
||||||
excludeRoutes: [
|
// excludeRoutes: [
|
||||||
'/threads'
|
// '/threads'
|
||||||
],
|
// ],
|
||||||
esbuild: {
|
// esbuild: {
|
||||||
minify: true
|
// minify: true
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue