mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-23 04:09:49 +00:00
feat: add models page for the web application
This commit is contained in:
@@ -50,7 +50,7 @@ const ADMIN_ONLY_PATHS = ["/api/users", "/api/tunnel", "/api/combos"];
|
||||
|
||||
// Combo definitions affect routing and fallback behavior, so only administrators
|
||||
// may view or change them.
|
||||
const ADMIN_ONLY_DASHBOARD_PATHS = ["/dashboard/combos"];
|
||||
const ADMIN_ONLY_DASHBOARD_PATHS = ["/dashboard/combos", "/dashboard/models"];
|
||||
|
||||
// Require auth, but allow through if requireLogin is disabled
|
||||
const PROTECTED_API_PATHS = [
|
||||
|
||||
Reference in New Issue
Block a user