fix(routing): Switch from iron:router to clinical:router so we respect ROOT_URL (#115)

This commit is contained in:
Erik Ziegler committed 2018-07-18 12:44:27 +02:00
1 parent ebe0a40f3e
commit 03d0798459
30 files changed
+54 -50

No files matched your search

+5 -4
View File
@@ -26,6 +26,10 @@ clinical:auto-resizing@0.2.0
clinical:fonts@1.1.6
clinical:hipaa-audit-log@2.4.2
clinical:hipaa-logger@1.3.0
clinical:router@2.0.19
clinical:router-location@2.1.0
clinical:router-middleware-stack@2.1.2
clinical:router-url@2.1.0
clinical:theming@0.4.10
cultofcoders:persistent-session@0.4.5
ddp@1.4.0
@@ -56,10 +60,6 @@ iron:controller@1.0.12
iron:core@1.0.11
iron:dynamic-template@1.0.12
iron:layout@1.0.12
iron:location@1.0.11
iron:middleware-stack@1.1.0
iron:router@1.0.13
iron:url@1.0.11
johdirr:meteor-git-rev@0.0.4
jquery@1.11.11
launch-screen@1.1.1
@@ -93,6 +93,7 @@ ohif:cornerstone@0.0.1
ohif:cornerstone-settings@0.0.1
ohif:design@0.0.1
ohif:dicom-services@0.0.1
ohif:dicomweb-client@0.0.1
ohif:hanging-protocols@0.0.1
ohif:header@0.0.1
ohif:hotkeys@0.0.1
+1 -1
View File
@@ -1,6 +1,6 @@
import { Template } from 'meteor/templating';
import { Session } from 'meteor/session';
import { Router } from 'meteor/iron:router';
import { Router } from 'meteor/clinical:router';
import { ReactiveVar } from 'meteor/reactive-var';
import { OHIF } from 'meteor/ohif:core';
+2 -2
View File
@@ -1,5 +1,5 @@
import { Meteor } from 'meteor/meteor';
import { Router } from 'meteor/iron:router';
import { Router } from 'meteor/clinical:router';
import { OHIF } from 'meteor/ohif:core';
Router.configure({
@@ -59,4 +59,4 @@ Router.route('/study/:studyInstanceUid/series/:seriesInstanceUids', function ()
const studyInstanceUid = this.params.studyInstanceUid;
const seriesInstanceUids = this.params.seriesInstanceUids.split(';');
OHIF.viewerbase.renderViewer(this, { studyInstanceUids: [studyInstanceUid], seriesInstanceUids });
}, { name: 'viewerSeries' });
}, { name: 'viewerSeries' });
+8 -8
View File
@@ -5,12 +5,12 @@
"requires": true,
"dependencies": {
"@babel/runtime": {
"version": "7.0.0-beta.53",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.0.0-beta.53.tgz",
"integrity": "sha1-nfIq40gjzon3kAYFlLg+5XLixdI=",
"version": "7.0.0-beta.54",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.0.0-beta.54.tgz",
"integrity": "sha1-Oeu0JyP+fKSz4bAOln6AE41Hyt8=",
"requires": {
"core-js": "2.5.7",
"regenerator-runtime": "0.12.0"
"core-js": "^2.5.7",
"regenerator-runtime": "^0.12.0"
}
},
"acorn": {
@@ -817,7 +817,7 @@
"glob": {
"version": "7.1.2",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz",
"integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==",
"integrity": "sha1-wZyd+aAocC1nhhI4SmVSQExjbRU=",
"dev": true,
"requires": {
"fs.realpath": "^1.0.0",
@@ -831,7 +831,7 @@
"globals": {
"version": "9.18.0",
"resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz",
"integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==",
"integrity": "sha1-qjiWs+abSH8X4x7SFD1pqOMMLYo=",
"dev": true
},
"globby": {
@@ -1151,7 +1151,7 @@
"minimatch": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
"integrity": "sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM=",
"dev": true,
"requires": {
"brace-expansion": "^1.1.7"
+1 -1
View File
@@ -9,7 +9,7 @@
"version": "1.0.0",
"description": "",
"dependencies": {
"@babel/runtime": "^7.0.0-beta.53",
"@babel/runtime": "^7.0.0-beta.54",
"bcrypt": "^0.8.7",
"loglevel": "^1.6.1",
"url": "^0.11.0"