mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +01:00
Fix URL
This commit is contained in:
parent
2b6099dff9
commit
616e23fc62
@ -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){
|
||||||
|
Loading…
Reference in New Issue
Block a user