10
0
mirror of https://github.com/LCPQ/QUESTDB_website.git synced 2024-11-04 05:03:53 +01:00
This commit is contained in:
scemama 2020-11-25 01:00:59 +00:00
parent a11ed8cc4b
commit f732eee6cf

View File

@ -28,7 +28,7 @@ class PubliData{
} }
static GetPathForDOI(DOI){ static GetPathForDOI(DOI){
var site_url = window.location.origin; var site_url = "/"+window.location.pathname.split('/')[1];
return site_url + `/data/publis/${DOI.replaceAll(".","/")}` return site_url + `/data/publis/${DOI.replaceAll(".","/")}`
} }
static GetAbstractURLForDOI(DOI){ static GetAbstractURLForDOI(DOI){