fix: don't use a bitop for OR (#676)

* fix: uname is missing from crond

Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com>

* fix: don't use a bitop
lol, two of us missed that.

---------

Signed-off-by: IAmTomahawkx <iamtomahawkx@gmail.com>
This commit is contained in:
Tom
2026-03-15 09:15:54 -07:00
committed by GitHub
parent dc4438bc3c
commit 5701b5c18c

View File

@@ -455,7 +455,7 @@ pub async fn config() -> Settings {
// auto-detect production nodes
if config.hosts.api.contains("https")
&& (config.hosts.api.contains("revolt.chat") | config.hosts.api.contains("stoat.chat"))
&& (config.hosts.api.contains("revolt.chat") || config.hosts.api.contains("stoat.chat"))
{
config.production = true;
}