refactoring code

This commit is contained in:
Dzmitry_Tamashevich@epam.com
2020-11-05 23:25:17 +03:00
committed by Daniel Hutzel
parent ecdc32bad1
commit e08b1c6246
8 changed files with 56 additions and 90 deletions

View File

@@ -7,7 +7,7 @@ cds.on("bootstrap", (app) => {
res.header("Access-Control-Allow-Origin", "*");
res.header(
"Access-Control-Allow-Methods",
"GET, PUT, POST, DELETE, OPTIONS"
"GET, PUT, PATCH, POST, DELETE, OPTIONS"
);
res.header(
"Access-Control-Allow-Headers",