Skip to content

Commit 1d4de4f

Browse files
committed
fix(*): fix public path
1 parent af6ac68 commit 1d4de4f

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

src/client/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
77
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
88
<meta name="description" content="Online logic game, which like a mix of tetris and tic-tac-toe">
9-
<link rel="shortcut icon" href="assets/favicon.ico" type="image/x-icon"/>
9+
<link rel="shortcut icon" href="/assets/favicon.ico" type="image/x-icon"/>
1010
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@200;400&display=swap" rel="stylesheet">
1111
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap" rel="stylesheet">
1212
</head>

webpack/client/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ module.exports = () => ({
5656
new HtmlPlugin({
5757
minify: false,
5858
template: "src/client/index.html",
59+
publicPath: '/',
5960
}),
6061
new CopyPlugin({
6162
patterns: [

yarn.lock

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2890,11 +2890,6 @@ prelude-ls@^1.2.1:
28902890
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
28912891
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
28922892

2893-
prettier@3.0.3:
2894-
version "3.0.3"
2895-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.3.tgz#432a51f7ba422d1469096c0fdc28e235db8f9643"
2896-
integrity sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg==
2897-
28982893
pretty-error@^4.0.0:
28992894
version "4.0.0"
29002895
resolved "https://registry.yarnpkg.com/pretty-error/-/pretty-error-4.0.0.tgz#90a703f46dd7234adb46d0f84823e9d1cb8f10d6"

0 commit comments

Comments
 (0)