mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 08:20:25 +08:00 
			
		
		
		
	feat: 系统升级支持数据库自动迁移,避免手动执行升级脚本
This commit is contained in:
		@@ -1,4 +1,4 @@
 | 
			
		||||
function getBaseApiUrl() {
 | 
			
		||||
export function getBaseApiUrl() {
 | 
			
		||||
    let path = window.location.pathname;
 | 
			
		||||
    if (path == '/') {
 | 
			
		||||
        return window.location.host;
 | 
			
		||||
@@ -15,7 +15,7 @@ const config = {
 | 
			
		||||
    baseWsUrl: `${(window as any).globalConfig.BaseWsUrl || `${location.protocol == 'https:' ? 'wss:' : 'ws:'}//${getBaseApiUrl()}`}/api`,
 | 
			
		||||
 | 
			
		||||
    // 系统版本
 | 
			
		||||
    version: 'v1.9.2',
 | 
			
		||||
    version: 'v1.9.3',
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export default config;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user