Fix of routing

This commit is contained in:
2024-01-26 21:31:06 +01:00
parent 32806e07bd
commit 88841ad738
2 changed files with 2 additions and 2 deletions

View File

@@ -223,7 +223,7 @@ const fetch = async () => {
};
});
console.log("TEST=", ccountry_filter.value, ccountry_list.value);
const response2 = await axios.get(route("settings"));
const response2 = await axios.get(route("settings.index"));
settings.value = response2.data;
} catch (e) {

View File

@@ -35,7 +35,7 @@ Route::post('users-send-email', [FeedbackController::class, 'sendEmail'])->name(
Route::get('/menu/get', [App\Http\Controllers\Superuser\UserMenuController::class, 'get'])->name('menu.user');
Route::get('/ip/get/{ip?}', [GeoIPController::class, 'index'])->name('geo.ip.get');
Route::get('/ccountry/', [CountryCodeController::class, 'index'])->name('ccountry.index');
Route::get('/settings/', [SettingsController::class, 'index'])->name('ccountry.index');
Route::get('/settings/', [SettingsController::class, 'index'])->name('settings.index');
Route::get('/ccountry/codes/', [CountryCodeController::class, 'codes'])->name('ccountry.codes');
Route::get('/ccountry/active/', [CountryCodeController::class, 'active'])->name('ccountry.active');
Route::get('/search/{id}',[CountryCompareController::class,'search'])->name('ccompare.search');