From 57275beb2ee3224994386ce616f86dbee292e2ee Mon Sep 17 00:00:00 2001 From: eug-vs Date: Wed, 10 Jun 2020 18:41:46 +0300 Subject: chore: install cors, bluebird and logash w/ types --- app.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app.ts') diff --git a/app.ts b/app.ts index 0dce8b6..c4fb0e6 100644 --- a/app.ts +++ b/app.ts @@ -2,6 +2,7 @@ import feathers from '@feathersjs/feathers'; import express from '@feathersjs/express'; import socketio from '@feathersjs/socketio'; import '@feathersjs/transport-commons'; +import cors from 'cors'; import services from './services'; @@ -14,6 +15,7 @@ app.use(express.static(__dirname)); app.configure(express.rest()); app.configure(socketio()); app.use(express.errorHandler()); +app.use(cors()); app.configure(services); -- cgit v1.2.3