Browse Source

add request base url

zhuf 1 year ago
parent
commit
44cc40c48d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/utils/request.ts

+ 1 - 1
src/utils/request.ts

@@ -12,7 +12,7 @@ export interface Response {
 }
 
 const instance = axios.create({
-  // baseURL: window.GLOBAL_CONFIG.api,
+  baseURL: 'https://ycxcktapi.bozedu.net',
   timeout: 180 * 1000,
   headers: {
     'Content-Type': 'application/x-www-form-urlencoded',