commit for merge

This commit is contained in:
isaiM6
2022-08-01 14:08:29 -07:00
parent a294a2804b
commit cabc775f58
6 changed files with 104 additions and 10 deletions

View File

@@ -348,7 +348,8 @@ const newSendRequest = async () => {
const ensureMethodInEndpoint = () => {
if (
!/^http[s]?:\/\//.test(newEndpoint.value) &&
!newEndpoint.value.startsWith("<<")
!newEndpoint.value.startsWith("<<") &&
!newEndpoint.value.startsWith("{{")
) {
const domain = newEndpoint.value.split(/[/:#?]+/)[0]
if (domain === "localhost" || /([0-9]+\.)*[0-9]/.test(domain)) {