mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-24 13:23:40 +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;
|
||||
};
|
||||
get url() {
|
||||
return 'https://doi.org/' + this.string;
|
||||
};
|
||||
return new URL(this.string,'https://doi.org').toString()
|
||||
}
|
||||
}
|
||||
|
||||
class excitationBase {
|
||||
|
Loading…
Reference in New Issue
Block a user