From 7da6c6a8e4a3590dfb8569b9fc24b4054552c96f Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 15 Nov 2020 03:46:51 +0300 Subject: feat: setup authentication --- src/app.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/app.js') diff --git a/src/app.js b/src/app.js index 45f9e61..e146734 100644 --- a/src/app.js +++ b/src/app.js @@ -1,6 +1,7 @@ const feathers = require('@feathersjs/feathers'); const express = require('@feathersjs/express'); const socketio = require('@feathersjs/socketio'); +const configuration = require('@feathersjs/configuration'); const cors = require('cors') const services = require('./services'); @@ -14,6 +15,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