summaryrefslogtreecommitdiff
path: root/pages/index.c
diff options
context:
space:
mode:
Diffstat (limited to 'pages/index.c')
-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"));
+}