1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-24 16:43:15 +00:00

fix(pwa): site baseurl not passed to app.js (#1955)

This commit is contained in:
Cotes Chung
2024-09-18 22:32:26 +08:00
committed by GitHub
parent 3ab3b844d2
commit 5a63244721
5 changed files with 14 additions and 12 deletions

View File

@@ -1,6 +1,4 @@
import { baseurl } from '../../_config.yml';
importScripts(`${baseurl}/assets/js/data/swconf.js`);
importScripts('./assets/js/data/swconf.js');
const purge = swconf.purge;
const interceptor = swconf.interceptor;