Publish LaySite copyright notice and AGPL license

This commit is contained in:
2026-11-25 22:16:38 +08:00
parent acf59c9dfc
commit 080f146fef
10 changed files with 68 additions and 8 deletions
+2
View File
@@ -1,5 +1,6 @@
<?php
use App\Content\Licenses;
use App\Controller\AccountController;
use App\Controller\AdminController;
use App\Controller\DesignController;
@@ -14,6 +15,7 @@ use Webman\Route;
Route::disableDefaultRoute();
Route::get('/', [SiteController::class, 'home']);
Route::add(['GET', 'HEAD'], Licenses::PROJECT_PATH, [SiteController::class, 'license']);
Route::add(['GET', 'POST', 'DELETE'], '/mcp', [McpController::class, 'endpoint']);
Route::get('/account', [AccountController::class, 'index']);
Route::get('/account/login/{id:[0-9]+}', [AccountController::class, 'login']);