-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathconfig.conf
21 lines (12 loc) · 937 Bytes
/
config.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
const port = 8000;
const whitelistMode = false; // Disabling enabling the ip whitelist mode. true/false
const whitelist = ['127.0.0.1']; // Example of adding multiple IP addresses to the whitelist: ['127.0.0.1', '192.168.0.10']
const autorun = false; // Autorun in the browser. true/false
const characterFormat = 'webp'; // webp or png
const charaCloudServer = 'https://tavernai.net'; //'https://tavernai.net'; http://127.0.0.1
const listenIp = '127.0.0.1'; // The IP address to which the socket is bound. This is an advanced setting; do not modify the setting unless you have knowledge of networking.
const connectionTimeoutMS = 5*60*1000; // The maximum duration of the request, after which TAI assumes the server will not reply at all (default is 2 minutes)
const csrf_token = false;
module.exports = {
port, whitelist, whitelistMode, autorun, characterFormat, charaCloudServer, listenIp, connectionTimeoutMS, csrf_token
};