mirror of
https://github.com/owncast/owncast.git
synced 2025-11-02 03:54:54 +08:00
Add support for managing IP-based bans. For https://github.com/owncast/owncast/issues/1534 (#434)
This commit is contained in:
@ -37,6 +37,12 @@ export const DISABLED_USERS = `${API_LOCATION}chat/users/disabled`;
|
||||
// Disable/enable a single user
|
||||
export const USER_ENABLED_TOGGLE = `${API_LOCATION}chat/users/setenabled`;
|
||||
|
||||
// Get banned IP addresses
|
||||
export const BANNED_IPS = `${API_LOCATION}chat/users/ipbans`;
|
||||
|
||||
// Remove IP ban
|
||||
export const BANNED_IP_REMOVE = `${API_LOCATION}chat/users/ipbans/remove`;
|
||||
|
||||
// Disable/enable a single user
|
||||
export const USER_SET_MODERATOR = `${API_LOCATION}chat/users/setmoderator`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user