mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-02-19 08:56:23 +00:00
Update virtual-machines.tsx
This commit is contained in:
@@ -613,7 +613,7 @@ const handleDownloadLogs = async (vmid: number, vmName: string) => {
|
||||
}
|
||||
|
||||
const isHTML = (str: string): boolean => {
|
||||
const htmlRegex = /<\/?[a-z][\s\S]*>/i
|
||||
const htmlRegex = new RegExp('<\\/?[a-z][\\s\\S]*>', 'i')
|
||||
return htmlRegex.test(str)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user