Harden client and WebSocket proxy

This commit is contained in:
2026-09-09 13:04:56 +02:00
parent f4f95ffff4
commit 8986f6270f
64 changed files with 4410 additions and 7313 deletions
+6 -3
View File
@@ -2,9 +2,12 @@
// Requires: npm install sharp
// Usage: node generate-icons.js
const fs = require('fs');
const path = require('path');
const sharp = require('sharp');
import fs from 'node:fs';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import sharp from 'sharp';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
// Define icon sizes needed
const sizes = [72, 96, 128, 144, 152, 192, 384, 512];