Skip to content

Commit

Permalink
fix:修复前端资源
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyanming committed Mar 28, 2023
1 parent 090fbf4 commit fc45e08
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion chat-new/.env.dev
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VITE_API_BASE_URL = 'http://127.0.0.1:8080'
VITE_API_BASE_URL = ''
2 changes: 1 addition & 1 deletion chat-new/src/services/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {getCookie} from "../utils/cookie";

const serviceAxios = axios.create({
withCredentials: false, // 跨域请求是否需要携带 cookie
baseURL: "http://localhost:8080" // 测试用
// baseURL: "http://localhost:8080" // 测试用
});
serviceAxios.interceptors.request.use(
(config) => {
Expand Down
2 changes: 1 addition & 1 deletion resources/view/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>AI Chatbot</title>
<script type="module" crossorigin src="/assets/index-74d55ae0.js"></script>
<script type="module" crossorigin src="/assets/index-dc745692.js"></script>
<link rel="stylesheet" href="/assets/index-7d01d5e6.css">
</head>
<body>
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Loading

0 comments on commit fc45e08

Please sign in to comment.