diff options
author | eug-vs <eug-vs@keemail.me> | 2020-06-10 18:41:46 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-06-10 18:41:46 +0300 |
commit | 57275beb2ee3224994386ce616f86dbee292e2ee (patch) | |
tree | 681f126a5bf771a1f9d3b30a9ab9fd4c8611b4b0 /app.ts | |
parent | de9771959850f193f173616b73099c3ae6f010c9 (diff) | |
download | which-api-57275beb2ee3224994386ce616f86dbee292e2ee.tar.gz |
chore: install cors, bluebird and logash w/ types
Diffstat (limited to 'app.ts')
-rw-r--r-- | app.ts | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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); |