Add PUBLIC_SEARCH config option
This commit is contained in:
parent
ea478c1e4b
commit
5887a5705e
3 changed files with 4 additions and 0 deletions
|
|
@ -19,6 +19,8 @@ if (MODE === "simple" && !GROUP_ID) {
|
|||
throw new Error("PUBLIC_GROUP_ID is required in simple mode");
|
||||
}
|
||||
export const JOINCODE_REQUIRED = env.PUBLIC_JOINCODE === "yes";
|
||||
// Requires a relay with NIP-50 support.
|
||||
export const SEARCH_ENABLED = env.PUBLIC_SEARCH === "yes";
|
||||
export const LABELS = (env.PUBLIC_LABELS ?? "")
|
||||
.split(",")
|
||||
.map((l) => l.trim())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue