Skip to content

Commit

Permalink
game
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryDu0123 committed Mar 7, 2024
1 parent 0e2d778 commit 54d4fc9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/utils/api.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import axios from 'axios'

// API服务器地址
// export const apiURL = 'quizgame.jacarandastock.com'
//
// // 协议
// export const protocol = 'https';

export const apiURL = '127.0.0.1:5000';
export const apiURL = 'quizgame.jacarandastock.com'

// 协议
export const protocol = 'http';
export const protocol = 'https';

// export const apiURL = '127.0.0.1:5000';
//
// // 协议
// export const protocol = 'http';

export const wsProtocol = protocol === 'http' ? 'ws' : 'wss';

Expand Down

0 comments on commit 54d4fc9

Please sign in to comment.