🆕 项目初始化,页面布局待修改完善
This commit is contained in:
9
src/settings/http.ts
Normal file
9
src/settings/http.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export interface Http {
|
||||
prefix: string // 前缀
|
||||
timeout: number
|
||||
}
|
||||
|
||||
export const http: Http = {
|
||||
prefix: import.meta.env.VITE_HTTP_PREFIX,
|
||||
timeout: 10 * 1000,
|
||||
}
|
||||
Reference in New Issue
Block a user