You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
314 B
JavaScript
9 lines
314 B
JavaScript
"use strict";
|
|
|
|
const isURL = require("@validatem/is-url");
|
|
|
|
// FIXME: Enforce that the path component is empty! Homeservers must always exist at the root of their hostname
|
|
// FIXME: Replace all isString instances where this should be used instead
|
|
module.exports = isURL(["https"]);
|
|
// MARKER: Package and fix this
|