Skip to content

Commit

Permalink
fix:修复接口
Browse files Browse the repository at this point in the history
  • Loading branch information
houdunwang committed Jun 13, 2023
1 parent 56ac428 commit 6b74a44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/src/axios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import axios from 'axios'
import { ElMessage } from 'element-plus'

const http = axios.create({
// baseURL: import.meta.env.DEV ? 'http://localhost:3000/api' : 'https://www.hdcms.com/api',
baseURL: 'http://localhost:3000/api',
baseURL: import.meta.env.DEV ? 'http://localhost:3000/api' : 'https://www.hdcms.com/api',
// baseURL: 'http://localhost:3000/api',
timeout: 10000
})

Expand Down

0 comments on commit 6b74a44

Please sign in to comment.