Adds Cors to server.js

This commit is contained in:
2022-11-11 02:30:30 -03:00
parent fbc485698d
commit fed63d25d5
5 changed files with 13 additions and 6 deletions

View File

@@ -5,6 +5,11 @@
"start": "node ./server.js",
"postinstall": "ng build --configuration=production"
},
"proxy": {
"/callback": {
"target": "http://localhost:8070"
}
},
"private": true,
"dependencies": {
"@angular/animations": "^14.0.3",
@@ -24,6 +29,7 @@
"@fortawesome/free-regular-svg-icons": "^6.1.1",
"@fortawesome/free-solid-svg-icons": "^6.1.1",
"bootstrap": "^4.6.1",
"cors": "^2.8.5",
"express": "^4.18.1",
"jquery": "^3.6.0",
"normalize.css": "^8.0.1",