fixed locale issue

This commit is contained in:
Gitea
2025-04-27 17:04:05 +05:30
parent 94eb01b1ab
commit 66cf32a7bb
19 changed files with 88 additions and 44 deletions

View File

@@ -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', []),