Add slash to app url if not set fix oc-1169
This commit is contained in:
parent
393eefa5d2
commit
799e34acd4
|
@ -67,6 +67,8 @@ OC={
|
||||||
if(type){
|
if(type){
|
||||||
link+= '/'+type+'/';
|
link+= '/'+type+'/';
|
||||||
}
|
}
|
||||||
|
if(link.substring(link.length-1) != '/')
|
||||||
|
link+='/';
|
||||||
link+=file;
|
link+=file;
|
||||||
}else{
|
}else{
|
||||||
link+='/';
|
link+='/';
|
||||||
|
|
Loading…
Reference in New Issue