aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-09-20 15:35:12 -0700
committerAdam Soltys <[email protected]>2023-09-20 15:38:06 -0700
commit27fa1e5479f285da62b761e36b7e7fb2b1319158 (patch)
tree6e786344c793695b1fdddefd9650f9e16b5ecca2 /index.js
parentfb45ea1f665c5fc750e1bd09e3cc23be9c695133 (diff)
downloadcoinos-server-27fa1e5479f285da62b761e36b7e7fb2b1319158.tar.gz
coinos-server-27fa1e5479f285da62b761e36b7e7fb2b1319158.zip
shopify attributes
Diffstat (limited to 'index.js')
-rw-r--r--index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.js b/index.js
index f525cd9f..7c3a134f 100644
--- a/index.js
+++ b/index.js
@@ -17,6 +17,7 @@ import invoices from "$routes/invoices";
import users from "$routes/users";
import payments from "$routes/payments";
import requests from "$routes/requests";
+import shopify from "$routes/shopify";
fillPool();
@@ -94,6 +95,7 @@ app.post("/requests", auth, requests.create);
app.post("/requests/delete", auth, requests.destroy);
app.post("/proxy", payments.proxy);
+app.post("/shopify/:id", auth, shopify);
let host = process.env.HOST || "0.0.0.0";
let port = process.env.PORT || 3119;