-
Notifications
You must be signed in to change notification settings - Fork 1
Configuration File
Paul Makles edited this page Oct 22, 2017
·
1 revision
This determines the application name.
default: solder.js
const api = 'solder.js';This determines the port the web server will run on.
default: 3000
const port = 3000;This determines where the modpacks / mods will be retrieved from.
default: ./data/
const data = './data/';This determines the level of indentation JSON should have when calling API endpoints. I recommend switching this to 0 for production servers.
default: 3
const jpp = 3;Add your Technic API keys as a string array.
default: []
const solder_key = [
'my_solder_api_key',
'aaaabbbbccccddddeeeeffffgggg'
];This literally has no use, might be useful later though. Modification is not recommended.
default: 'solderjs_key' 0
const technic_key = 'solderjs_key';
const technic_cat = 0;