aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-09-04 08:45:01 -0700
committerAdam Soltys <[email protected]>2025-09-04 15:03:38 -0700
commit044c1737289f89d111bcc8c3c709479286dcf29d (patch)
treebec3ca898341a570a4ce32f85a9a16b5bb901ef5 /index.ts
parentb80ce59804e8fdc47fde12a0ff80d81cec59fb87 (diff)
downloadcoinos-server-044c1737289f89d111bcc8c3c709479286dcf29d.tar.gz
coinos-server-044c1737289f89d111bcc8c3c709479286dcf29d.zip
support readonly tokens
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.ts b/index.ts
index 84c67777..02a6e0b5 100644
--- a/index.ts
+++ b/index.ts
@@ -113,6 +113,7 @@ app.post("/account/delete", auth, users.deleteAccount);
app.get("/users", auth, users.list);
app.get("/me", auth, users.me);
+app.get("/ro", auth, users.ro);
app.get("/credits", auth, users.credits);
app.get("/users/:key", users.get);
app.post("/register", users.create);