summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-20 09:16:38 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-20 09:16:38 +0800
commitf5b387f8602b30d47841696cb0165aa88218f42a (patch)
treed5bbdea82c3d4b8b96d035421e7d28dbffd0f6ed /index.html
parentfad30f64dd061fb8c98fe64f6596e1785c8babeb (diff)
Rename index to main and move it up to root dir
Also log the downloaded data.
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>