Skip to content

Commit 4abe38d

Browse files
committed
Fixed MAPI blob storage for server-side.
1 parent 647d348 commit 4abe38d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/persistence/mapiBlobStorage.server.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ export class MapiBlobStorage implements IStreamBlobStorage {
3333
blobStorageContainer: blobStorageContainer || defaultContainerName
3434
});
3535
}
36+
else {
37+
const containerSasUrl = await this.tenantService.getMediaContentBlobUrl();
38+
39+
storageSettingsProvider = new StaticSettingsProvider({
40+
blobStorageUrl: containerSasUrl
41+
});
42+
}
3643

3744
this.azureStorageClient = new ServerAzureBlobStorage(storageSettingsProvider, this.logger)
3845
return this.azureStorageClient;

src/themes/designer/styles/toolboxes.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ h2 {
2424
padding: $toolbox-padding;
2525
z-index: $z-index-base;
2626
max-height: calc(100% - 40px);
27+
position: fixed;
2728

2829
@include surface();
2930
@include animation-fadein(0.3s);

0 commit comments

Comments
 (0)