Browse Source

update cors again2

pearlgw 3 weeks ago
parent
commit
53cde3267d
1 changed files with 0 additions and 1 deletions
  1. 0 1
      index.ts

+ 0 - 1
index.ts

@@ -34,7 +34,6 @@ var corsOptions = {
34 34
     }
35 35
 }
36 36
 
37
-// Pasang sekali aja global
38 37
 app.use(cors(corsOptions));
39 38
 
40 39
 app.use(bodyParser.json());