From 5e98a93d7e8f177cdf903002304b5fe761e4585d Mon Sep 17 00:00:00 2001 From: Jemma Poffinbarger Date: Sun, 28 Jul 2024 23:02:04 -0500 Subject: [PATCH] chore: update example config --- config.example.json | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) diff --git a/config.example.json b/config.example.json index 5c2c795..41e0dfb 100644 --- a/config.example.json +++ b/config.example.json @@ -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 @@ -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