feat(.well-known): make schema optional (defaults to https)

This commit is contained in:
Connery Noble
2023-01-12 13:33:03 -08:00
parent 6962df6340
commit a51b06b453
19 changed files with 27 additions and 33 deletions
+2 -5
View File
@@ -217,11 +217,8 @@ class ServerEndpointInput extends StatelessWidget {
}) : super(key: key);
String? _validateInput(String? url) {
if (url?.startsWith(RegExp(r'https?://')) == true) {
return null;
} else {
return 'login_form_err_http'.tr();
}
// Can we do any other validation here instead?
return null;
}
@override