database driven image uploader and storage service model

This commit is contained in:
kfj001 committed 2026-06-22 19:29:06 +00:00
1 parent 76894061c5
commit 3b61a131c1
31 files changed
+433 -149

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ export class StationConfigService {
const formData = new FormData();
formData.append('file', file);
const response = await firstValueFrom(
this.http.post<{ url: string }>(`${this.baseUrl}/upload`, formData),
this.http.post<{ url: string }>(`${getAppConfig().apiBaseUrl}/api/storage/upload`, formData),
);
return response.url;
}