Require path

pull/1/head
sundowndev 2018-11-15 19:26:37 +01:00
parent 6e134f6187
commit c98c3d0e44
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
const mongoose = require('mongoose'); const mongoose = require('mongoose');
const UserSchema = require('../models/user'); const UserSchema = require.main.require('./app/models/user');
const NoteSchema = require('../models/note'); const NoteSchema = require.main.require('./app/models/note');
const db = require('./db.config'); const db = require('./db.config');