diff --git a/resources/js/services/diagnostics-service.ts b/resources/js/services/diagnostics-service.ts index 4073b849497..ab970f44d0d 100644 --- a/resources/js/services/diagnostics-service.ts +++ b/resources/js/services/diagnostics-service.ts @@ -1,8 +1,3 @@ -// Route::get('/Diagnostics', [Admin\DiagnosticsController::class, 'errors']); -// Route::get('/Diagnostics::info', [Admin\DiagnosticsController::class, 'info']); -// Route::get('/Diagnostics::space', [Admin\DiagnosticsController::class, 'space']); -// Route::get('/Diagnostics::config', [Admin\DiagnosticsController::class, 'config']); - import axios, { type AxiosResponse } from "axios"; import Constants from "./constants"; diff --git a/resources/js/services/init-service.ts b/resources/js/services/init-service.ts index 829a5c00b5f..25dbb31937d 100644 --- a/resources/js/services/init-service.ts +++ b/resources/js/services/init-service.ts @@ -18,7 +18,7 @@ const InitService = { return axios.get(`${Constants.getApiUrl()}Version`, { data: {} }); }, fetchFooter(): Promise> { - return axios.get(`${Constants.API_URL}Gallery::Footer`, { data: {} }); + return axios.get(`${Constants.getApiUrl()}Gallery::Footer`, { data: {} }); }, };