Fix "failed to find host in url: https://tom.schizo.solutions/"
https://chaosfem.tw/@f@tom.schizo.solutions
This commit is contained in:
parent
05b6566808
commit
6de34f2d06
|
@ -32,7 +32,7 @@ void from_json(const json& j, AccountField& field) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static std::regex host_regex("https?://(" DOMAIN_RE ")/.+", std::regex::ECMAScript | std::regex::icase);
|
static std::regex host_regex("https?://(" DOMAIN_RE ")/.*", std::regex::ECMAScript | std::regex::icase);
|
||||||
void from_json(const json& j, Account& account) {
|
void from_json(const json& j, Account& account) {
|
||||||
using namespace std::string_literals;
|
using namespace std::string_literals;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue