From a56477ce0f16405bbbcddc045d580fe6fda684e2 Mon Sep 17 00:00:00 2001 From: Masroor Ehsan Date: Mon, 27 Jan 2025 11:24:49 +0600 Subject: [PATCH] minor --- config/ohif/nginx/ohif.conf | 1 + config/ohif/ohif.js | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/ohif/nginx/ohif.conf b/config/ohif/nginx/ohif.conf index d92dde7..d207a25 100644 --- a/config/ohif/nginx/ohif.conf +++ b/config/ohif/nginx/ohif.conf @@ -22,6 +22,7 @@ location = /50x.html { # https://book.orthanc-server.com/faq/nginx.html#nginx location /orthanc/ { + proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; diff --git a/config/ohif/ohif.js b/config/ohif/ohif.js index 9c07a78..23c23be 100644 --- a/config/ohif/ohif.js +++ b/config/ohif/ohif.js @@ -7,6 +7,8 @@ window.config = { }, showStudyList: false, + studyListFunctionsEnabled: false, + filterQueryParam: false, investigationalUseDialog: { option: "never", }, @@ -98,7 +100,7 @@ window.config = { // above, the number of requests can be go a lot higher. prefetch: 25, }, - // filterQueryParam: false, + httpErrorHandler: (error) => { // This is 429 when rejected from the public idc sandbox too often. if (error.status) {