From c922eefbca31c365e59e5bc725f165de6fc3d788 Mon Sep 17 00:00:00 2001 From: Flummi Date: Mon, 29 Aug 2016 10:32:21 +0200 Subject: [PATCH] configs --- .gitignore | 2 +- cfg/irc.json | 22 ++++++++++++++++++++++ cfg/main.json | 24 ++++++++++++++++++++++++ cfg/mysql.json | 7 +++++++ cfg/websrv.json | 6 ++++++ 5 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 cfg/irc.json create mode 100644 cfg/main.json create mode 100644 cfg/mysql.json create mode 100644 cfg/websrv.json diff --git a/.gitignore b/.gitignore index 6d93b1a..8eccfb6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ node_modules/ -cfg.json +cfg/ b/ diff --git a/cfg/irc.json b/cfg/irc.json new file mode 100644 index 0000000..ef251ef --- /dev/null +++ b/cfg/irc.json @@ -0,0 +1,22 @@ +{ + "name": "irc1", + "host": "", + "port": "", + "ssl": "1", + "ssl_allow_invalid": "1", + "pass": "", + "nick": "", + "username": "", + "realname": "" +}, +{ + "name": "irc2", + "host": "", + "port": "", + "ssl": "1", + "ssl_allow_invalid": "1", + "pass": "", + "nick": "", + "username": "", + "realname": "" +} \ No newline at end of file diff --git a/cfg/main.json b/cfg/main.json new file mode 100644 index 0000000..2a97a3b --- /dev/null +++ b/cfg/main.json @@ -0,0 +1,24 @@ +{ + "allowedMimes": { + "image/png": "png", + "video/webm": "webm", + "image/gif": "gif", + "image/jpeg": "jpg", + "video/mp4": "mp4", + "audio/mpeg": "mp3", + "audio/ogg": "ogg" + }, + "disallowedHosts": [ + "f0ck.me" + ], + "minRes": 500, + "maxFileSize": 31457280, + "level": { + "~": 80, + "&": 70, + "@": 60, + "%": 50, + "+": 10, + "": 0 + } +} \ No newline at end of file diff --git a/cfg/mysql.json b/cfg/mysql.json new file mode 100644 index 0000000..fb3658e --- /dev/null +++ b/cfg/mysql.json @@ -0,0 +1,7 @@ +{ + "host": "127.0.0.1", + "user": "", + "password": "", + "database": "", + "multipleStatements": true +} \ No newline at end of file diff --git a/cfg/websrv.json b/cfg/websrv.json new file mode 100644 index 0000000..2988302 --- /dev/null +++ b/cfg/websrv.json @@ -0,0 +1,6 @@ +{ + "port": 1488, + "wlip": { + "::ffff:1.0.0.5": "comment" + } +} \ No newline at end of file