From c5adb0c1080a2f826e9c641689aaa38a25aed6e9 Mon Sep 17 00:00:00 2001 From: aedes Date: Wed, 22 Apr 2026 02:36:24 +0300 Subject: [PATCH] fix: hash overly long query strings/paths to avoid ENAMETOOLONG --- scripts/mirror.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/scripts/mirror.js b/scripts/mirror.js index 1778c60..0e1e696 100644 --- a/scripts/mirror.js +++ b/scripts/mirror.js @@ -8,6 +8,7 @@ const { chromium } = require('playwright'); const fs = require('fs'); const path = require('path'); const { URL } = require('url'); +const crypto = require('crypto'); const CHAT_OVERLAY = `