mirror of
https://github.com/remnawave/node.git
synced 2026-06-14 03:56:47 +00:00
17 lines
504 B
TypeScript
17 lines
504 B
TypeScript
export const PLUGIN_CONTROLLER = 'plugin' as const;
|
|
|
|
export const TORRENT_BLOCKER_ROUTE = 'torrent-blocker' as const;
|
|
export const NFTABLES_ROUTE = 'nftables' as const;
|
|
|
|
export const PLUGIN_ROUTES = {
|
|
SYNC: 'sync',
|
|
|
|
TORRENT_BLOCKER: {
|
|
COLLECT: `${TORRENT_BLOCKER_ROUTE}/collect`,
|
|
},
|
|
NFTABLES: {
|
|
UNBLOCK_IPS: `${NFTABLES_ROUTE}/unblock-ips`,
|
|
BLOCK_IPS: `${NFTABLES_ROUTE}/block-ips`,
|
|
RECREATE_TABLES: `${NFTABLES_ROUTE}/recreate-tables`,
|
|
},
|
|
} as const;
|