Hi,
I am using OHIF 3.8.0 and the 3.9.0-beta.63.
I am trying to connect OHIF to my pacsone server but even after passing the auth in the configuration I get error 401 and when i see the request done by OHIF using f12 the Authorization header is not present.
The principal error is this :
CORS header ‘Access-Control-Allow-Origin’ is missing
Here is my config :
window.config = {
routerBasename: '/',
extensions: [],
modes: [],
showStudyList: true,
dataSources: [
{
namespace: '@ohif/extension-default.dataSourcesModule.dicomweb',
sourceName: 'dicomweb',
configuration: {
friendlyName: 'PacsOne DICOMWeb Server',
name: 'PacsOne',
wadoUriRoot: 'http://10.0.0.5:80/pacsone/wado.php',
qidoRoot: 'http://10.0.0.5:80/pacsone/qidors.php',
wadoRoot: 'http://10.0.0.5:80/pacsone/wadors.php',
qidoSupportsIncludeField: true,
supportsReject: true,
imageRendering: 'wadouri',
thumbnailRendering: 'wadouri',
enableStudyLazyLoad: true,
supportsFuzzyMatching: true,
supportsWildcard: true,
acceptHeader: true,
omitQuotationForMultipartRequest: true,
requestOptions: {
auth: 'user:password',
},
},
},
],
defaultDataSourceName: 'dicomweb',
};
Other than this i didn’t do any modification.
I just runned
APP_CONFIG=config/pacsone.json yarn run dev
Thanks for your time and help.