aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/main.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/source/main.js b/source/main.js
index d78aac9..c5b6d5c 100644
--- a/source/main.js
+++ b/source/main.js
@@ -19,14 +19,8 @@ export default {
constructor(body, init) {
super(body, init);
this.headers.set("Access-Control-Allow-Origin", "*");
- this.headers.set(
- "Access-Control-Allow-Methods",
- "GET, POST, PUT, DELETE"
- );
- this.headers.set(
- "Access-Control-Allow-Headers",
- "Content-Type, Authorization"
- );
+ this.headers.set("Access-Control-Allow-Methods", "*");
+ this.headers.set("Access-Control-Allow-Headers", "*");
}
}