This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default defineEventHandler((event) => { | |
if (process.env.NODE_ENV === 'production' && event.req.headers['x-forwarded-proto'] !== 'https') { | |
sendRedirect(event, `https://${event.req.headers['host']}${event.req.url}`) | |
} | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const net = require('net'); | |
const client = new net.Socket(); | |
const IP_ADDRESS = "your-honeywell-ip-address"; | |
const PORT = 9100; | |
/* | |
Intermec Printer Language (IPL) exported from Bartender | |
File > Printer Code Template | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var cloudinary = require('cloudinary'); | |
cloudinary.config({ | |
cloud_name: '', | |
api_key: '', | |
api_secret: '' | |
}); | |
module.exports = { |