10
0
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:
Mickaël Véril 2019-12-10 15:15:46 +01:00
parent 9c9812d72a
commit f37f57a7af

View File

@ -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 {