mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 13:53:48 +01:00
use URL class to build doi.org url
This commit is contained in:
parent
9c9812d72a
commit
f37f57a7af
@ -65,8 +65,8 @@ class DOI {
|
|||||||
return this.string;
|
return this.string;
|
||||||
};
|
};
|
||||||
get url() {
|
get url() {
|
||||||
return 'https://doi.org/' + this.string;
|
return new URL(this.string,'https://doi.org').toString()
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class excitationBase {
|
class excitationBase {
|
||||||
|
Loading…
Reference in New Issue
Block a user