summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-18 21:36:16 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-18 21:36:16 +0800
commitf625441429bfe1e10b1532873d78ce41084e178c (patch)
treeba105f3056fb39af06c34c599e0d333c98a19375 /pages
parent5f40484088e509e49675813c34be3b53998514ea (diff)
Preparing to use Emscripten
Diffstat (limited to 'pages')
-rw-r--r--pages/index.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/pages/index.c b/pages/index.c
new file mode 100644
index 0000000..08aa2d6
--- /dev/null
+++ b/pages/index.c
@@ -0,0 +1,6 @@
+#include <emscripten/fetch.h>
+
+int main(int argc, char *argv[])
+{
+ EM_ASM(authenticatedFetch("/products"));
+}