Skip to content

Commit 2452c8d

Browse files
committed
Update configuration settings and update MIME types for WSI visualization.
1 parent 8186f07 commit 2452c8d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

frontend/src/app.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ config["eventListenerJobStatus"]["skipped"] = "SKIPPED";
8888
config["eventListenerJobStatus"]["resubmitted"] = "RESUBMITTED";
8989

9090
config["streamingBytes"] = 1024 * 10; // 10 MB?
91-
config["rawDataVisualizationThreshold"] = 1024 * 1024 * 1024; // 1 GB
91+
config["rawDataVisualizationThreshold"] = 1024 * 1024 * 10; // 10 MB
9292

9393
config["defaultDatasetPerPage"] = 12;
9494
config["defaultFolderFilePerPage"] = 5;

frontend/src/components/visualizations/WSI/WSI.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default function WSI(props: WSIProps) {
2222

2323
const config = {
2424
annotation: {
25-
adapter: (canvasId) =>
25+
adapter: (canvasId: string) =>
2626
new LocalStorageAdapter(`localStorage://?canvasId=${canvasId}`),
2727
},
2828
id: "mirador-container",

frontend/src/components/visualizations/WSI/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"visConfig": {
1313
"name": "WSI",
1414
"mainType": "image",
15-
"mimeTypes": ["image/tiff"],
15+
"mimeTypes": ["application/octet-stream"],
1616
"fields": []
1717
}
1818
}

0 commit comments

Comments
 (0)