Skip to content

Commit

Permalink
docs: change deploy cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
moonlitusun committed Mar 14, 2024
1 parent 7371f27 commit cd21a33
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .dumirc.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { defineConfig } from 'dumi';

const publicPath = process.env.NODE_ENV === 'development' ? '/' : '/ld/o-orange/';
// const publicPath = process.env.NODE_ENV === 'development' ? '/' : '/ld/o-orange/';
const publicPath = process.env.NODE_ENV === 'development' ? '/' : '/o-orange/';

export default defineConfig({
publicPath,
Expand Down
4 changes: 2 additions & 2 deletions docs/dist/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="/ld/o-orange/umi.7ab43a5e.css">
<link rel="stylesheet" href="/o-orange/umi.7ab43a5e.css">
</head>
<body>
<div id="root"></div>
<script src="/ld/o-orange/umi.b3a37e2a.js"></script>
<script src="/o-orange/umi.37b8040e.js"></script>

</body></html>
4 changes: 2 additions & 2 deletions docs/dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="/ld/o-orange/umi.7ab43a5e.css">
<link rel="stylesheet" href="/o-orange/umi.7ab43a5e.css">
</head>
<body>
<div id="root"></div>
<script src="/ld/o-orange/umi.b3a37e2a.js"></script>
<script src="/o-orange/umi.37b8040e.js"></script>

</body></html>

0 comments on commit cd21a33

Please sign in to comment.