- 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/
22 lines
348 B
PHP
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' => [],
|
|
],
|
|
],
|
|
];
|