diff options
Diffstat (limited to 'pages/index.c')
-rw-r--r-- | pages/index.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pages/index.c b/pages/index.c index 91d8471..fc165b6 100644 --- a/pages/index.c +++ b/pages/index.c @@ -33,3 +33,9 @@ void index_getproducts(const char *token, const char *app_url) sprintf(url, "%s%s", app_url, path); emscripten_fetch(&attr, url); } + +int main(int argc, char *argv[]) +{ + EM_ASM(getToken()); + return 0; +} |