Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria committed Oct 23, 2024
1 parent 118e4d0 commit f3b7af7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions resources/js/services/diagnostics-service.ts
Original file line number Diff line number Diff line change
@@ -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";

Expand Down
2 changes: 1 addition & 1 deletion resources/js/services/init-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const InitService = {
return axios.get(`${Constants.getApiUrl()}Version`, { data: {} });
},
fetchFooter(): Promise<AxiosResponse<App.Http.Resources.GalleryConfigs.FooterConfig>> {
return axios.get(`${Constants.API_URL}Gallery::Footer`, { data: {} });
return axios.get(`${Constants.getApiUrl()}Gallery::Footer`, { data: {} });
},
};

Expand Down

0 comments on commit f3b7af7

Please sign in to comment.