Add secure TrizRis access control for OHIF toolbar
Build and Deploy Docs / build-and-deploy-docs (push) Waiting to run

This commit is contained in:
Kenza committed 2026-10-13 19:23:10 +02:00
1 parent f00379a672
commit 1546a4c81a
4 files changed
+168 -8

No files matched your search

+2 -1
View File
@@ -9,6 +9,7 @@ const webpackBase = require('./../../../.webpack/webpack.base.js');
const SRC_DIR = path.join(__dirname, '../src');
const DIST_DIR = path.join(__dirname, '../dist');
const PUBLIC_DIR = path.join(__dirname, '../public');
const { ORTHANC_BASE_URL } = require('../config/trizris.shared');
// Ignore node_modules except @cornerstonejs (symlinked local development).
const WATCH_IGNORED = /node_modules[\\/](?!@cornerstonejs(?:[\\/]|$))/;
@@ -212,7 +213,7 @@ module.exports = (env, argv) => {
{
context: ['/orthanc'],
target: 'http://localhost:8042',
target: ORTHANC_BASE_URL,
changeOrigin: true,
pathRewrite: {
'^/orthanc': '',