Skip to content

Commit

Permalink
feat: ✨ api
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuba-Ahhh committed Oct 4, 2024
1 parent a156ffc commit 79cda7d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/utils/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ export interface Result<T = unknown> {

const service: AxiosInstance = axios.create({
// baseURL: process.env.NODE_ENV === 'production' ? 'https://api.book.bbdaxia.com/' : '/api',
baseURL: 'http://localhost:3000/novel',
baseURL: 'http://101.43.14.179:3000/novel',
// process.env.NODE_ENV === 'production'
// ? 'http://101.43.14.179:3000/novel'
// : 'http://localhost:3000/novel',
timeout: 0,
});

Expand Down

0 comments on commit 79cda7d

Please sign in to comment.