rimgu/src/config.ts

11 lines
433 B
TypeScript
Raw Normal View History

export default {
port: process.env.RIMGU_PORT || 8080,
host: process.env.RIMGU_HOST || 'localhost',
address: process.env.RIMGU_ADDRESS || '127.0.0.1',
http_proxy: process.env.RIMGU_HTTP_PROXY || null,
https_proxy: process.env.RIMGU_HTTPS_PROXY || null,
imgur_client_id: process.env.RIMGU_IMGUR_CLIENT_ID || null,
use_api: process.env.RIMGU_USE_API !== 'false',
2021-10-06 15:51:38 +00:00
page_title: process.env.RIMGU_PAGE_TITLE || 'rimgu',
};