fixed locale issue
This commit is contained in:
@@ -14,15 +14,6 @@ Route::get('/delete/{email?}', [AppController::class, 'delete'])->name('delete')
|
||||
|
||||
Route::get('locale/{locale}', [AppController::class, 'locale'])->name('locale');
|
||||
|
||||
Route::get('/download-email', function () {
|
||||
$data = 'Your content here'; // or pull from DB / session
|
||||
$filename = 'data.txt';
|
||||
|
||||
return response($data)
|
||||
->header('Content-Type', 'text/plain')
|
||||
->header('Content-Disposition', "attachment; filename={$filename}");
|
||||
})->name('download.txt');
|
||||
|
||||
Route::get('/msg/{email?}/', function ($email) {
|
||||
$responses = [
|
||||
'to' => ZEmail::getMessages($email, 'to', []),
|
||||
|
||||
Reference in New Issue
Block a user