refactoring code
This commit is contained in:
committed by
Daniel Hutzel
parent
ecdc32bad1
commit
e08b1c6246
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user