aboutsummaryrefslogtreecommitdiff
path: root/demo/src/compile.ts
diff options
context:
space:
mode:
Diffstat (limited to 'demo/src/compile.ts')
-rw-r--r--demo/src/compile.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/demo/src/compile.ts b/demo/src/compile.ts
index 7ca7a72..fa846b1 100644
--- a/demo/src/compile.ts
+++ b/demo/src/compile.ts
@@ -12,9 +12,9 @@ export async function buildHex(source: string) {
mode: 'cors',
cache: 'no-cache',
headers: {
- 'Content-Type': 'application/json'
+ 'Content-Type': 'application/json',
},
- body: JSON.stringify({ sketch: source })
+ body: JSON.stringify({ sketch: source }),
});
return (await resp.json()) as HexiResult;
}