Skip to content

Configuration File

Paul Makles edited this page Oct 22, 2017 · 1 revision

API Name

This determines the application name.

default: solder.js

const api = 'solder.js';

ExpressJS Port

This determines the port the web server will run on.

default: 3000

const port = 3000;

Data Storage

This determines where the modpacks / mods will be retrieved from.

default: ./data/

const data = './data/';

JSON Pretty Print

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;

Technic Solder API Keys

Add your Technic API keys as a string array.

default: []

const solder_key = [
    'my_solder_api_key',
    'aaaabbbbccccddddeeeeffffgggg'
];

Technic Key Management TM

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;

Clone this wiki locally