Skip to content

Commit 0e31db9

Browse files
committed
feat(launcher): 默认数据库切换到 MongoDB Atlas 公共集群
将启动器内默认 DataBaseUrl 由本地 MongoDB 切到面向新手用户的公共 Atlas 集群,便于无本地数据库环境时直接拉起示例服务。
1 parent b8c2fb2 commit 0e31db9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎GameFrameX.Launcher/StartUp/AppStartUpGame.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ protected override void Init()
109109
MinModuleId = 10,
110110
MaxModuleId = 9999,
111111
TagName = "GameFrameX",
112-
DataBaseUrl = "mongodb://admin:admin@127.0.0.1:27017/?authSource=admin&retryWrites=true&w=majority",
112+
DataBaseUrl = "mongodb+srv://gameframex:f9v42aU9DVeFNfAF@gameframex.8taphic.mongodb.net/?retryWrites=true&w=majority",
113113
DataBaseName = "gameframex",
114114
};
115115
}

0 commit comments

Comments
 (0)