Implemented UNIFI_SSID_PASSWORD environment variable. Updated email template. Updated PDF template. Updated ESC/POS template. Updated README.md. Changed qr.js output based on open or password protected networks

This commit is contained in:
Glenn de Haan
2024-09-21 20:46:05 +02:00
parent da15cf9e34
commit d475c1cc28
8 changed files with 53 additions and 10 deletions

View File

@@ -52,6 +52,7 @@ module.exports = {
html: ejs.render(fs.readFileSync(`${__dirname}/../template/email/voucher.ejs`, 'utf-8'), {
voucher,
unifiSsid: variables.unifiSsid,
unifiSsidPassword: variables.unifiSsidPassword,
qr: await qr(),
timeConvert: time,
bytesConvert: bytes