Browse Source

Again, temporary wildcard

Brendan Abolivier 8 years ago
parent
commit
0c31333503
Signed by: Brendan Abolivier <contact@brendanabolivier.com> GPG key ID: 8EF1500759F70623
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      server.js

+ 1
- 0
server.js View File

35
 // that.
35
 // that.
36
 app.all('/*', function(req, res, next) {
36
 app.all('/*', function(req, res, next) {
37
     res.header('Access-Control-Allow-Origin', '*');
37
     res.header('Access-Control-Allow-Origin', '*');
38
+    res.header('Access-Control-Allow-Headers', 'Content-Type')
38
     next();
39
     next();
39
 });
40
 });
40
 
41