diff --git a/config/env/default.js b/config/env/default.js index 72830729..00fa5c6d 100644 --- a/config/env/default.js +++ b/config/env/default.js @@ -11,7 +11,7 @@ module.exports = { promise: global.Promise }, port: process.env.PORT || 3000, - host: process.env.HOST || '0.0.0.0', + host: process.env.HOST || '127.0.0.1', // DOMAIN config should be set to the fully qualified application accessible // URL. For example: https://www.myapp.com (including port if required). domain: process.env.DOMAIN || 'mine.pt', @@ -42,7 +42,7 @@ module.exports = { }, logo: 'modules/core/client/img/brand/logo.png', favicon: 'modules/core/client/img/brand/favicon.ico', - illegalUsernames: ['meanjs', 'administrator', 'password', 'admin', 'user', + illegalUsernames: ['meanjs', 'administrator', 'password', 'admin', 'user', 'mean', 'meanTorrent', 'torrent', 'bit', 'bits', 'oper', 'operator', 'unknown', 'anonymous', 'null', 'undefined', 'api' ], aws: { diff --git a/config/env/production.js b/config/env/production.js index 3cf095e8..e459ba88 100644 --- a/config/env/production.js +++ b/config/env/production.js @@ -11,7 +11,7 @@ module.exports = { }, port: process.env.PORT || 3000, // Binding to 127.0.0.1 is safer in production. - host: process.env.HOST || '0.0.0.0', + host: process.env.HOST || '127.0.0.1', db: { uri: process.env.MONGOHQ_URL || process.env.MONGODB_URI || 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || 'localhost') + '/mean-dev-v2', options: { diff --git a/config/env/torrents.js b/config/env/torrents.js index ab661392..538e0871 100644 --- a/config/env/torrents.js +++ b/config/env/torrents.js @@ -193,9 +193,9 @@ module.exports = { ircAnnounce: { enable: true, debug: false, - server: 'chd.im', + server: 'MEAN.im', port: 16667, - nick: 'Announcer', + nick: 'mineAnnouncer', userName: 'meanTorrent', realName: 'IRC announce client', channel: '#mineAnnounce', @@ -959,10 +959,10 @@ module.exports = { * * movie info web www.themoviedb.com settings * + * @key: access key fro TMDB, when u first install and runing this system, please register a key from TMDB and replace here * @tmdbHome: TMDB website home link url * @tmdbMovieLinkUrl: linked url, link to movie detail info page, system get movie detail info from here * @tmdbTvserialLinkUrl: linked url, link to tv serial detail info page, system get tv serial detail info from here - * @key: access key fro TMDB, when u first install and runing this system, please register a key from TMDB and replace here * @backdropImgBaseUrl: image link url * @backdropImgBaseUrl_300: image link url * @backdropImgBaseUrl_780: image link url