added download 2

This commit is contained in:
2026-03-07 13:18:15 +03:30
parent c3389fa077
commit 2e4389e311
4996 changed files with 7076 additions and 489681 deletions
@@ -1,25 +0,0 @@
import { d as defineEventHandler, g as getRequestHeader, a as getCachedConfig, b as sendRedirect } from '../nitro/nitro.mjs';
import 'node:http';
import 'node:https';
import 'node:events';
import 'node:buffer';
import 'node:fs';
import 'node:path';
import 'node:crypto';
import 'vue';
import 'node:url';
import 'consola';
import 'fast-xml-parser';
import 'ipx';
const handler = defineEventHandler(async (event) => {
const host = getRequestHeader(event, "host");
const config = await getCachedConfig(host || "");
if (config == null ? void 0 : config.storageLogo) {
const remoteUrl = `${config.storageLogo}/favicon.ico`;
return sendRedirect(event, remoteUrl, 302);
}
return sendRedirect(event, "https://node.newinsta.ir/", 302);
});
export { handler as default };