diff options
| author | Adam Soltys <[email protected]> | 2025-09-04 08:45:01 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-09-04 15:03:38 -0700 |
| commit | 044c1737289f89d111bcc8c3c709479286dcf29d (patch) | |
| tree | bec3ca898341a570a4ce32f85a9a16b5bb901ef5 /index.ts | |
| parent | b80ce59804e8fdc47fde12a0ff80d81cec59fb87 (diff) | |
| download | coinos-server-044c1737289f89d111bcc8c3c709479286dcf29d.tar.gz coinos-server-044c1737289f89d111bcc8c3c709479286dcf29d.zip | |
support readonly tokens
Diffstat (limited to 'index.ts')
| -rw-r--r-- | index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |
