From f594248c67d6e9ae36c6445e3b5026f59f3625a1 Mon Sep 17 00:00:00 2001 From: Dreamacro <8615343+Dreamacro@users.noreply.github.com> Date: Sun, 27 Sep 2020 15:22:31 +0800 Subject: [PATCH] Fix: public relative url --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 56caede..8410493 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "homepage": "https://github.com/Dreamacro/clash-dashboard", "scripts": { "start": "node scripts/start.js", - "build": "GENERATE_SOURCEMAP=false node scripts/build.js", + "build": "GENERATE_SOURCEMAP=false PUBLIC_URL=./ node scripts/build.js", "lint": "npm run lint:ts", "lint:ts": "eslint --ext=jsx,ts,tsx --fix src", "contributors:add": "all-contributors add",