Add rootDir to loopack file
This commit is contained in:
parent
387be29185
commit
5a13d79a2d
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue