Skip to content

Commit

Permalink
chore: update example config
Browse files Browse the repository at this point in the history
  • Loading branch information
CaramelKat committed Jul 29, 2024
1 parent fd3385b commit 5e98a93
Showing 1 changed file with 22 additions and 17 deletions.
39 changes: 22 additions & 17 deletions config.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,15 @@
"http": {
"port": 80
},
"account_server_domain": "",
"account_server": "",
"account_server_secret": "",
"X-Nintendo-Client-ID": "",
"X-Nintendo-Client-Secret": "",
"server_environment": "prod",
"mongoose": {
"uri": "mongodb://localhost:27017",
"database": "database",
"options": {
"useNewUrlParser": true,
"useUnifiedTopology": true
}
},
"account_db": {
"uri": "mongodb://localhost:27017",
"database": "database",
"post_limit": 10,
"account_server_domain": "account.pretendo.cc",
"mii_image_CDN": "https://mii.cdn.example.com",
"CDN_domain": "https://cdn.example.com",
"whitelist": "1|http,example.http.domain,,2|1|https,example.https.domain,,2",
"server_environment": "dev",
"mongoose": {
"uri": "mongodb://127.0.0.1:27017",
"database": "Database",
"options": {
"useNewUrlParser": true,
"useUnifiedTopology": true
Expand All @@ -30,6 +22,19 @@
"secret": ""
}
},
"grpc": {
"friends": {
"ip": "127.0.0.1",
"port": 50051,
"api_key": ""
},
"account": {
"ip": "127.0.0.1",
"port": 50051,
"api_key": ""
}
},
"aes_key": "",
"redis": {
"host": "localhost",
"port": 6379
Expand Down

0 comments on commit 5e98a93

Please sign in to comment.