aboutsummaryrefslogtreecommitdiff
path: root/app.ts
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2020-06-10 18:41:46 +0300
committereug-vs <eug-vs@keemail.me>2020-06-10 18:41:46 +0300
commit57275beb2ee3224994386ce616f86dbee292e2ee (patch)
tree681f126a5bf771a1f9d3b30a9ab9fd4c8611b4b0 /app.ts
parentde9771959850f193f173616b73099c3ae6f010c9 (diff)
downloadwhich-api-57275beb2ee3224994386ce616f86dbee292e2ee.tar.gz
chore: install cors, bluebird and logash w/ types
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 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);