Skip to content

Commit

Permalink
googleまじ許さん😡
Browse files Browse the repository at this point in the history
  • Loading branch information
22-2 committed Sep 13, 2024
1 parent af48d4d commit 00855ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ <h1>Momon Megaphone</h1>
const resp = await fetch(url, {
mode: "cors",
method: "post",
"Content-Type": "application/json",
"Content-Type": "text/plain",
// GASは、application/json形式のContent-Typeを持つプリフライトリクエストを処理できない
Origin: "https://22-2.github.io",
body: JSON.stringify({
message: textarea.value,
Expand Down

0 comments on commit 00855ed

Please sign in to comment.