소스 검색

Again, temporary wildcard

Brendan Abolivier 8 년 전
부모
커밋
0c31333503
로그인 계정: Brendan Abolivier <contact@brendanabolivier.com> GPG 키 ID: 8EF1500759F70623
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      server.js

+ 1
- 0
server.js 파일 보기

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