Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
cli: fix error due to non-updated auth.js
Browse files Browse the repository at this point in the history
Signed-off-by: Yonle <[email protected]>
  • Loading branch information
Yonle committed Feb 19, 2024
1 parent d82eb09 commit 21c72aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { validateEvent, verifyEvent } = require("nostr-tools");
const { authorized_keys, private_keys } = require("./config");
const { authorized_keys, private_keys } = require(process.env.BOSTR_CONFIG_PATH || "./config");

module.exports = (authKey, data, ws, req) => {
if (!validateEvent(data) || !verifyEvent(data)) {
Expand Down

0 comments on commit 21c72aa

Please sign in to comment.