Remove test route, set APP_DEBUG=false, fix storage volume mount to preserve permissions
This commit is contained in:
parent
a3c1ffd3b3
commit
539df42dc5
3 changed files with 1 additions and 7 deletions
2
.env
2
.env
|
|
@ -1,7 +1,7 @@
|
||||||
APP_NAME="MAD Lawsuit v2.0"
|
APP_NAME="MAD Lawsuit v2.0"
|
||||||
APP_ENV=production
|
APP_ENV=production
|
||||||
APP_KEY=base64:dUzoSQvI3yjuaq3Sj6XMMpHw/1v/zPFRzwO6WzeADaQ=
|
APP_KEY=base64:dUzoSQvI3yjuaq3Sj6XMMpHw/1v/zPFRzwO6WzeADaQ=
|
||||||
APP_DEBUG=true
|
APP_DEBUG=false
|
||||||
APP_TIMEZONE=UTC
|
APP_TIMEZONE=UTC
|
||||||
APP_URL=https://v2.mad-lawsuit.org
|
APP_URL=https://v2.mad-lawsuit.org
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,6 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "8080:80"
|
- "8080:80"
|
||||||
volumes:
|
volumes:
|
||||||
- ./storage:/var/www/html/storage
|
|
||||||
- ./storage/app/public/documents:/var/www/html/storage/app/public/documents
|
- ./storage/app/public/documents:/var/www/html/storage/app/public/documents
|
||||||
environment:
|
environment:
|
||||||
- APP_ENV=production
|
- APP_ENV=production
|
||||||
|
|
|
||||||
|
|
@ -8,11 +8,6 @@ use Illuminate\Foundation\Application;
|
||||||
use Illuminate\Support\Facades\Route;
|
use Illuminate\Support\Facades\Route;
|
||||||
use Inertia\Inertia;
|
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
|
// Public home page - Court Docket
|
||||||
Route::get('/', [HomeController::class, 'index'])->name('home');
|
Route::get('/', [HomeController::class, 'index'])->name('home');
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue