Skip to content

Commit

Permalink
fix: 地址不能打开
Browse files Browse the repository at this point in the history
  • Loading branch information
duo.zhang committed Dec 14, 2023
1 parent c0f2f0d commit b94a7fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .umirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { defineConfig } from "umi";

export default defineConfig({
base: "/code-game",
publicPath: "/",
publicPath: "code-game/",
title: "打字练习",
outputPath: 'docs',
routes: [
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
</head>
<body>
<div id="root"></div>
<script src="/umi.js"></script>
<script src="code-game/umi.js"></script>

</body></html>
Loading

0 comments on commit b94a7fe

Please sign in to comment.