From 4770ba6d85a062f7ff7ca27b3aea66679bbbc89b Mon Sep 17 00:00:00 2001 From: thuhole Date: Sat, 20 Jun 2020 13:51:42 +0800 Subject: [PATCH] CDN test --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0fe668d..ac874d2 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "start": "react-scripts start", "build": "react-scripts build", "test": "echo 'skipped react-scripts test --env=jsdom'", - "predeploy": "npm run build && sed -i 's/\\/\\/cdn\\.jsdelivr\\.net\\/gh\\/thuhole\\/webhole\\@gh\\-pages\\/index\\.html/\\.\\/index\\.html/g' build/precache-*", + "predeploy": "npm run build && sed -i 's/\\/\\/cdn\\.jsdelivr\\.net\\/gh\\/thuhole\\/webhole\\@gh\\-pages\\/index\\.html/\\.\\/index\\.html/g' build/*.js", "deploy": "gh-pages -d build -m $(TZ=Asia/Shanghai date +\"%y%m%d%H%M%S\")", "eject": "react-scripts eject" },