Files
nextcloud-analytics/analyticshub/appinfo/routes.php
WLTBAgent 4b684d101a Fix: Change route from /admin to / to avoid Nextcloud conflicts
- Changed route URL from /admin to / (root path)
  - /admin was conflicting with Nextcloud built-in admin routes
  - Now uses apps/analyticshub/ instead
- Changed route name from admin#index to page#index
  - Follows Nextcloud naming conventions
- Updated info.xml navigation
  - Points to analyticshub.page.index
  - Removed <settings> section (can cause conflicts)
- Updated AdminController
  - Added request path to diagnostic output
  - Better styling for simple HTML page

The route was conflicting with Nextcloud's admin system.
New URL: https://teamworkapps.com/index.php/apps/analyticshub/
2026-02-13 20:21:40 +00:00

22 lines
348 B
PHP

<?php
declare(strict_types=1);
namespace OCA\AnalyticsHub;
/**
* Routes for Mini-CMO Analytics Hub
*/
return [
'routes' => [
// Admin route - use root path instead of /admin
[
'name' => 'page#index',
'url' => '/',
'verb' => 'GET',
'requirements' => [],
],
],
];