mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 08:33:11 +00:00
fix: make facets work again
This commit is contained in:
committed by
Rainer Killinger
parent
5d6d4b53f0
commit
d917627d58
@@ -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');
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user