Skip to content

Commit

Permalink
feat: 新增.env文件 (#77)
Browse files Browse the repository at this point in the history
* feat: 新增.env文件
  • Loading branch information
xixiIBN5100 authored Oct 1, 2024
1 parent 043bab7 commit 0dae301
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
HOST=http://sample.com
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dist
dist-ssr
uploadToQiniu.js
*.local
.env

# Editor directories and files
.vscode/*
Expand Down
1 change: 0 additions & 1 deletion src/apis/axios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import axios, { type AxiosRequestConfig } from 'axios'
//自动存储cookie

const axiosInstance = axios.create({
baseURL: "",
timeout: 10000,
withCredentials: true
})
Expand Down

0 comments on commit 0dae301

Please sign in to comment.