24 lines
561 B
JavaScript
24 lines
561 B
JavaScript
import { d as defineEventHandler, s as setResponseStatus } 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 _nuxt = defineEventHandler((event) => {
|
|
const pathname = event.node.req.url || "";
|
|
if (pathname === "/_nuxt" || pathname === "/_nuxt/") {
|
|
setResponseStatus(event, 204);
|
|
return null;
|
|
}
|
|
});
|
|
|
|
export { _nuxt as default };
|