Skip to content
Snippets Groups Projects
Commit b16d243d authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Allow for relative URIs

parent 08f22c35
No related branches found
No related tags found
1 merge request!181Implements #240 custom shortcuts
Pipeline #16758 passed
......@@ -255,6 +255,8 @@ static std::string preprocessURI(const std::string &uri) {
} else {
return uri;
}
} else if (uri[0] == '/') {
return rootCFG->getID() + uri;
} else {
return uri;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment