Skip to content

Commit ed6ad51

Browse files
refactor: update header names to align with project rebranding and add remote URL accessor
1 parent a8122be commit ed6ad51

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

extensions/entity-files/sources/core/src/main/java/tools/dynamia/modules/entityfile/remote/RemoteEntityFileStorage.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ public class RemoteEntityFileStorage implements EntityFileStorage {
7272
public static final String SFS_SECRET = "SFS_SECRET";
7373

7474
// ── Header names ─────────────────────────────────────────────────────────
75-
static final String HEADER_IDENTITY = "X-SFS-Identity";
76-
static final String HEADER_SECRET = "X-SFS-Secret";
75+
static final String HEADER_IDENTITY = "X-Buckie-Identity";
76+
static final String HEADER_SECRET = "X-Buckie-Secret";
7777
private final LocalEntityFileStorage localEntityFileStorage;
7878
private final Parameters appParams;
7979
private final CrudService crudService;
@@ -338,6 +338,10 @@ public Resource toResource() {
338338
return fetchResource(remoteUrl);
339339
}
340340

341+
public String getRemoteUrl() {
342+
return remoteUrl;
343+
}
344+
341345
@Override
342346
public Resource toThumbnailResource(int width, int height) {
343347
return fetchResource(remoteUrl + "?w=" + width + "&h=" + height);

0 commit comments

Comments
 (0)