mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-11-04 13:13:55 +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