ClientServer/Server/MongoServer.txt

7 lines
471 B
Plaintext
Raw Permalink Normal View History

2025-09-06 17:17:39 +04:00
$uri = "mongodb+srv://swgame:bzvbb27r1Z94Bfn2@lwsiegeworlds.x1trn.mongodb.net/siegeworlds?retryWrites=true&w=majority"
Set-Content -Path "$env:USERPROFILE\swconfig.txt" -Value "mongo.connectionString=$uri"
New-Item -Path 'C:\Users\i5 1340@\swconfig.txt' -ItemType File -Force
Add-Content -Path 'C:\Users\i5 1340@\swconfig.txt' -Value 'mongo.connectionString=mongodb+srv://swgame:bzvbb27r1Z94Bfn2@lwsiegeworlds.x1trn.mongodb.net/siegeworlds?retryWrites=true&w=majority'