aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/database.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/database.js')
-rw-r--r--server/initializers/database.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/server/initializers/database.js b/server/initializers/database.js
index a917442ec..830cc7dd8 100644
--- a/server/initializers/database.js
+++ b/server/initializers/database.js
@@ -1,15 +1,15 @@
1'use strict' 1'use strict'
2 2
3var config = require('config') 3const config = require('config')
4var mongoose = require('mongoose') 4const mongoose = require('mongoose')
5 5
6var logger = require('../helpers/logger') 6const logger = require('../helpers/logger')
7 7
8var dbname = 'peertube' + config.get('database.suffix') 8const dbname = 'peertube' + config.get('database.suffix')
9var host = config.get('database.host') 9const host = config.get('database.host')
10var port = config.get('database.port') 10const port = config.get('database.port')
11 11
12var database = { 12const database = {
13 connect: connect 13 connect: connect
14} 14}
15 15