Revert http test (#1257)

* Revert "refactor: allow messages not starting with http"

This reverts commit 887e5c448e.

* Revert "refactor: allow messages not starting with http"

This reverts commit 6ce275da7a.
This commit is contained in:
Alex Christoffer Rasmussen
2024-10-12 10:52:14 +02:00
committed by GitHub
parent 2d53323f60
commit 0500368982
5 changed files with 25 additions and 2 deletions
+1
View File
@@ -5,6 +5,7 @@
export const isOnlyNumbers = /^\d+$/;
export const isIPAddress = /^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.?\b){4}$/;
export const startsWithHttp = /^http:\/\//;
export const startsWithSlash = /^\//;
export const isAlphanumeric = /^[a-z0-9]+$/i;
export const isASCII = /^[ -~]+$/; //https://catonmat.net/my-favorite-regex