* Change join route to just /join
This commit is contained in:
@@ -31,7 +31,7 @@ pub const UPDATE_NEIGHBOR: Rstr = "/neighbor/update"; // @requires perms::ad
|
||||
pub const REMOVE_NEIGHBOR: Rstr = "/neighbor/delete"; // @requires perms::add_neighbor @url(unique)
|
||||
|
||||
pub fn is_open(path: &str) -> bool {
|
||||
return path.starts_with("/join") || path.starts_with("/meta");
|
||||
return path.starts_with(INVITE_JOIN) || path.starts_with("/meta");
|
||||
}
|
||||
|
||||
pub fn requires_perms(path: &str) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user