summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/index.html b/index.html
index 80bd3c6..875451e 100644
--- a/index.html
+++ b/index.html
@@ -10,7 +10,7 @@
<script src="https://unpkg.com/@shopify/app-bridge-utils@3"></script>
<script async>
async function getToken() {
- Module.cwrap('index_getproducts', '',
+ Module.cwrap('getproducts', '',
['string', 'string'])(await
window['app-bridge-utils']
.getSessionToken(
@@ -21,6 +21,6 @@
})), '%s');
}
</script>
- <script type="text/javascript" src="%s/js/index.js"></script>
+ <script type="text/javascript" src="%s/js/main.js"></script>
</body>
</html>