Skip to content

Commit d530ec8

Browse files
authored
fix: use static path for favicon (#48)
1 parent 8ff4b32 commit d530ec8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"start:embed": "parcel src/embed.html --open",
1010
"build": "run-s clean build:client build:server",
1111
"build:client": "parcel build src/index.html src/embed.js --out-dir dist/client",
12-
"postbuild:client": "mkdir -p dist/client/public && cp _redirects dist/client/_redirects && cp public/android-chrome-512x512.png dist/client/public/icon.png",
12+
"postbuild:client": "mkdir -p dist/client/public && cp _redirects dist/client/_redirects && cp public/favicon.ico dist/client/favicon.ico && cp public/android-chrome-512x512.png dist/client/public/icon.png",
1313
"build:server": "cp -r src/lambda/ dist/server",
1414
"postbuild:server": "mkdir -p dist/server/server && mv dist/client/index.html dist/server/server/",
1515
"lint": "eslint 'src/**/*.js' --quiet --fix",

0 commit comments

Comments
 (0)