comparison Plugin/DefaultAuthorizationParser.cpp @ 50:9ed19ec11f48

fix osimis-viewer route
author Alain Mazy <am@osimis.io>
date Fri, 08 Apr 2022 16:14:02 +0200
parents 914b8113fd46
children c02f0646297d
comparison
equal deleted inserted replaced
49:a749092170ef 50:9ed19ec11f48
122 AddOrthancStudy(target, what[1]); 122 AddOrthancStudy(target, what[1]);
123 return true; 123 return true;
124 } 124 }
125 else if (boost::regex_match(uri, what, osimisViewerImages_)) 125 else if (boost::regex_match(uri, what, osimisViewerImages_))
126 { 126 {
127 AddOrthancInstance(target, what[1]); 127 AddOrthancInstance(target, what[2]);
128 return true; 128 return true;
129 } 129 }
130 else 130 else
131 { 131 {
132 // Unknown type of resource: Consider it as a system access 132 // Unknown type of resource: Consider it as a system access