mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2024-11-26 22:31:08 +00:00
12 lines
No EOL
276 B
JavaScript
12 lines
No EOL
276 B
JavaScript
"use strict";
|
|
|
|
var path = require("path");
|
|
var mongoose = require("mongoose");
|
|
var config = require(path.join(__dirname, "../config/config.js"));
|
|
|
|
mongoose.connect(config.mongo.uri);
|
|
|
|
// Load models
|
|
require(path.join(__dirname, "/models/message"));
|
|
|
|
module.exports = mongoose; |