forked from jmug/stoatchat
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user