Remove test route, set APP_DEBUG=false, fix storage volume mount to preserve permissions

This commit is contained in:
TheMaddax 2025-12-17 21:27:48 -07:00
parent a3c1ffd3b3
commit 539df42dc5
3 changed files with 1 additions and 7 deletions

2
.env
View file

@ -1,7 +1,7 @@
APP_NAME="MAD Lawsuit v2.0"
APP_ENV=production
APP_KEY=base64:dUzoSQvI3yjuaq3Sj6XMMpHw/1v/zPFRzwO6WzeADaQ=
APP_DEBUG=true
APP_DEBUG=false
APP_TIMEZONE=UTC
APP_URL=https://v2.mad-lawsuit.org

View file

@ -10,7 +10,6 @@ services:
ports:
- "8080:80"
volumes:
- ./storage:/var/www/html/storage
- ./storage/app/public/documents:/var/www/html/storage/app/public/documents
environment:
- APP_ENV=production

View file

@ -8,11 +8,6 @@ use Illuminate\Foundation\Application;
use Illuminate\Support\Facades\Route;
use Inertia\Inertia;
// Test route - simple response
Route::get('/test', function () {
return response()->json(['status' => 'ok', 'message' => 'Laravel is working!']);
});
// Public home page - Court Docket
Route::get('/', [HomeController::class, 'index'])->name('home');