Fix a bug where the web app qrcode doesn't show up

This commit is contained in:
Brahim Hadriche committed 2024-08-11 17:11:03 -04:00
1 parent 825b9e567b
commit 088377fd82
3 files changed
+23 -3

No files matched your search

+2 -2
View File
@@ -11,9 +11,9 @@ namespace QrCode
function Generate(text as string, size as integer, padding as integer, mode = QrCode.QrMode.Byte as QrCode.QrMode) as string
fileName = m.GetFileName(text, mode, size, padding)
#if DEBUG
#if DISABLE_CACHE
#else
#if DISABLE_CACHE
#if DEBUG
#else
fs = CreateObject("roFileSystem")
if fs.exists(fileName)