diff options
| author | Adam Soltys <[email protected]> | 2023-01-05 16:40:48 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-01-05 16:40:48 -0800 |
| commit | d42768e2dea7d157a8f28180e5aabc84f8a241b2 (patch) | |
| tree | 70f9d1140fa92fd10c1c45efdf8cf8f6bc0fdd6d /lib | |
| parent | acd94921684759ac3d582ec87db7ceaeb2fefe45 (diff) | |
| download | coinos-server-d42768e2dea7d157a8f28180e5aabc84f8a241b2.tar.gz coinos-server-d42768e2dea7d157a8f28180e5aabc84f8a241b2.zip | |
get nostr api url from config
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/nostr.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nostr.js b/lib/nostr.js index 8fc92be4..6c5af6a7 100644 --- a/lib/nostr.js +++ b/lib/nostr.js @@ -8,7 +8,7 @@ import redis from "$lib/redis"; import proxy from "@fastify/http-proxy"; app.register(proxy, { - upstream: "http://api:9393", + upstream: config.nostr, prefix: "/nostr", rewritePrefix: "", }); |
