From 4e7a71671bd21a4138909374b1124d269493551e Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 14 Jun 2020 17:05:54 +0300 Subject: feat: setup config --- app.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app.ts') diff --git a/app.ts b/app.ts index 4b5ac3b..0623ef3 100644 --- a/app.ts +++ b/app.ts @@ -1,6 +1,7 @@ import feathers from '@feathersjs/feathers'; import express from '@feathersjs/express'; import socketio from '@feathersjs/socketio'; +import configuration from '@feathersjs/configuration' import '@feathersjs/transport-commons'; import cors from 'cors'; @@ -15,6 +16,7 @@ app.use(express.static(__dirname)); app.use(express.errorHandler()); app.use(cors()); +app.configure(configuration()); app.configure(express.rest()); app.configure(socketio()); app.configure(services); -- cgit v1.2.3