Fix: AI Blog Assistant retry logic and Subdomain routing for Akademi
This commit is contained in:
@@ -7,6 +7,11 @@ use App\Http\Controllers\TemplatePreviewController;
|
||||
use App\Http\Controllers\Api\SiteTranslationController;
|
||||
use App\Models\Page;
|
||||
|
||||
// Subdomain Routes
|
||||
Route::domain('akademi.truncgil.com.tr')->group(function () {
|
||||
Route::get('/', [PageController::class, 'showAkademi']);
|
||||
});
|
||||
|
||||
// Debug Route - Veritabanı kontrolü
|
||||
Route::redirect('/index', '/', 301);
|
||||
Route::redirect('/index.php', '/', 301);
|
||||
@@ -126,5 +131,8 @@ Route::get('/logo-preview', function (Illuminate\Http\Request $request) {
|
||||
</html>";
|
||||
})->name('logo.preview');
|
||||
|
||||
// Nested Pages (Parent/Child)
|
||||
Route::get('/{parentSlug}/{slug}', [PageController::class, 'showNested'])->name('page.show_nested');
|
||||
|
||||
// Pages (en sonda olmalı - catch-all)
|
||||
Route::get('/{slug}', [PageController::class, 'show'])->name('page.show');
|
||||
|
||||
Reference in New Issue
Block a user