mirror of
https://github.com/Yonle/bostr.git
synced 2025-03-17 21:32:43 +01:00
fix code at commit 649c425
Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
parent
4848e1d0a7
commit
396bd3f7bb
4
http.js
4
http.js
@ -28,8 +28,8 @@ if (!config.relays?.length) (async () => {
|
||||
}
|
||||
});
|
||||
|
||||
const text = await request.text();
|
||||
relays = text.match(/(w{1,2}s)s?:\/\/.+/g);
|
||||
const text = await request.body.text();
|
||||
config.relays = text.match(/(w{1,2}s)s?:\/\/.+/g);
|
||||
})();
|
||||
|
||||
if (
|
||||
|
@ -28,6 +28,7 @@
|
||||
"homepage": "https://github.com/Yonle/bostr#readme",
|
||||
"dependencies": {
|
||||
"nostr-tools": "^2.5.2",
|
||||
"undici": "^6.16.1",
|
||||
"ws": "^8.17.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user