Skip to content

Commit

Permalink
Update config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
superconvert authored Jul 16, 2024
1 parent 2718f6d commit bb789ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web_admin/html/config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
var baseUrl = 'http://127.0.0.1:5000/api'; // 服务器基地址
var baseUrl = '/api'; // 服务器基地址

sessionStorage.setItem('baseUrl', baseUrl); // 全局缓存服务器基地址
sessionStorage.setItem('baseUrl', baseUrl); // 全局缓存服务器基地址

0 comments on commit bb789ff

Please sign in to comment.