aboutsummaryrefslogtreecommitdiff
path: root/app.ts
diff options
context:
space:
mode:
authorEugene Sokolov <eug-vs@keemail.me>2020-06-14 18:07:37 +0300
committerGitHub <noreply@github.com>2020-06-14 18:07:37 +0300
commit52d3bfcecc2cfbaed8e65728124477131bc0d233 (patch)
tree5699ba9d7e16b89e6ebefaf49d6992bb3eb6f3cd /app.ts
parent1860396a1286936374ab88937da3e0b6b9b1a36d (diff)
parent1ab199588d5353d98d49172e1f35d73452069faf (diff)
downloadwhich-api-52d3bfcecc2cfbaed8e65728124477131bc0d233.tar.gz
Merge pull request #7 from eug-vs/auth
Setup authentication
Diffstat (limited to 'app.ts')
-rw-r--r--app.ts2
1 files changed, 2 insertions, 0 deletions
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);