Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
Tabs and spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkaye committed Sep 18, 2018
1 parent a81a50e commit 5616898
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/middlewares.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ async function attachMiddlewares(app, opts) {

var corsOptions = {
origin: '*',
methods: ['GET', 'PUT', 'POST', 'DELETE', 'OPTIONS'],
allowedHeaders: ['Origin', 'X-Requested-With', 'Content-Type', 'Accept',
'Authorization']
methods: ['GET', 'PUT', 'POST', 'DELETE', 'OPTIONS'],
allowedHeaders: ['Origin', 'X-Requested-With', 'Content-Type', 'Accept',
'Authorization']
}
app.use(cors(corsOptions));

Expand Down

0 comments on commit 5616898

Please sign in to comment.