Add rootDir to loopack file

This commit is contained in:
Candy 2016-09-02 17:25:24 -04:00
parent 387be29185
commit 5a13d79a2d
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,9 @@
* Module dependencies.
*/
var path = require('path');
var SG = require('strong-globalize');
SG.SetRootDir(path.join(__dirname, '..'), { autonomousMsgLoading: 'all' });
var express = require('express');
var loopbackExpress = require('./server-app');
var proto = require('./application');