Skip to content

Commit

Permalink
feat(shared): Allow access to s3 nz-elevation public bucket. (#3151)
Browse files Browse the repository at this point in the history
#### Motivation

Allow basemaps to access data from nz-elevation bucket.

#### Modification


#### Checklist

_If not applicable, provide explanation of why._

- [ ] Tests updated
- [ ] Docs updated
- [ ] Issue linked in Title
  • Loading branch information
Wentao-Kuang authored Feb 27, 2024
1 parent 26b9dd8 commit e7d63cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/shared/src/file.system.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ s3Fs.credentials = credentials;

fsa.register('s3://', s3Fs);
fsa.register('s3://nz-imagery', s3FsPublic);
fsa.register('s3://nz-elevation', s3FsPublic);

export const Fsa = fsa;

Expand Down

0 comments on commit e7d63cd

Please sign in to comment.