fix: make facets work again

This commit is contained in:
Wieland Schöbl
2019-08-27 11:15:50 +02:00
committed by Rainer Killinger
parent 5d6d4b53f0
commit d917627d58
10 changed files with 227 additions and 94 deletions

View File

@@ -14,8 +14,11 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import {Logger} from '@openstapps/logger';
import * as express from 'express';
import * as http from 'http';
import {app, configureApp} from './app';
import {configureApp} from './app';
const app = express();
/**
* Get port from environment and store in Express.
@@ -95,7 +98,7 @@ function onListening() {
Logger.ok(`Listening on ${bind}`);
}
configureApp()
configureApp(app)
.then(() => {
Logger.ok('Sucessfully configured express server');
})