diff --git a/package.json b/package.json index 46ebf59..b14f4e7 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "email": "eclipse@unterdemradar.de", "url": "https://www.unterdemradar.de" }, - "homepage": "https://www.unterdemradar.de/sr2ini", + "homepage": "https://www.unterdemradar.de/sr2ini/", "license": "ISC", "source": "src/index.html", "devDependencies": { @@ -16,15 +16,16 @@ "parcel": "^2.8.3", "parcel-reporter-static-files-copy": "^1.5.0" }, + "publicUrl": "./", "dependencies": { }, "staticFiles": { "staticPath": "src/img" }, "scripts": { - "start": "npx parcel serve src/index.html --public-url / --dist-dir dist", + "start": "npx parcel serve src/index.html --public-url ./ --dist-dir dist", "prebuild": "rm -rf dist/", - "build": "npx parcel build", + "build": "npx parcel build --public-url ./", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { diff --git a/src/index.html b/src/index.html index 266d1aa..3db739f 100644 --- a/src/index.html +++ b/src/index.html @@ -31,7 +31,7 @@