From 0f27ca80fbdb3366e047def628123d3cc8ca051c Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Thu, 30 Dec 2021 23:41:47 +0100 Subject: prototype code upload --- web/pw-server/src/routes/bots/[bot_id].svelte | 30 ++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to 'web/pw-server/src/routes/bots') diff --git a/web/pw-server/src/routes/bots/[bot_id].svelte b/web/pw-server/src/routes/bots/[bot_id].svelte index 90fd78d..1d7994d 100644 --- a/web/pw-server/src/routes/bots/[bot_id].svelte +++ b/web/pw-server/src/routes/bots/[bot_id].svelte @@ -6,7 +6,7 @@ const res = await fetch(`/api/bots/${page.params["bot_id"]}`, { headers: { "Content-Type": "application/json", - Authorization: `Bearer ${token}`, + "Authorization": `Bearer ${token}`, }, }); @@ -27,8 +27,36 @@
{bot["name"]}
+ + +
Upload code
+
+ + +
\ No newline at end of file -- cgit v1.2.3