Add cors
libs
app.js +2 -0
package.json +1 -0
+ 2
- 0
@@ -3,6 +3,7 @@ var path = require('path')
@@ -16,6 +17,7 @@ var app = express()
+ 1
- 0
Added CORS (Cross-Origin Resource Sharing) to API. This way the API allows different URLs to use it.
Preferences