added version
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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 };
|
||||
@@ -1,4 +1,4 @@
|
||||
import { i as defineSitemapEventHandler } from '../../../nitro/nitro.mjs';
|
||||
import { k as defineSitemapEventHandler } from '../../../nitro/nitro.mjs';
|
||||
import { createClient } from '@supabase/supabase-js';
|
||||
import 'node:http';
|
||||
import 'node:https';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { d as defineEventHandler, g as getRequestHeader, a as getCachedConfig, s as sendRedirect } from '../nitro/nitro.mjs';
|
||||
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';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { d as defineEventHandler, b as getRequestHost, a as getCachedConfig, c as setResponseHeader } from '../nitro/nitro.mjs';
|
||||
import { d as defineEventHandler, c as getRequestHost, a as getCachedConfig, e as setResponseHeader } from '../nitro/nitro.mjs';
|
||||
import 'node:http';
|
||||
import 'node:https';
|
||||
import 'node:events';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { d as defineEventHandler, g as getRequestHeader, a as getCachedConfig, s as sendRedirect } from '../nitro/nitro.mjs';
|
||||
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';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { d as defineEventHandler, g as getRequestHeader, a as getCachedConfig, s as sendRedirect } from '../nitro/nitro.mjs';
|
||||
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';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { createRenderer, getRequestDependencies, getPreloadLinks, getPrefetchLinks } from 'vue-bundle-renderer/runtime';
|
||||
import { k as buildAssetsURL, u as useRuntimeConfig, l as getResponseStatusText, m as getResponseStatus, n as decodePath, o as defineRenderHandler, q as publicAssetsURL, r as getQuery, t as createError, v as destr, x as getRouteRules, j as joinURL, y as useNitroApp } from '../nitro/nitro.mjs';
|
||||
import { l as buildAssetsURL, u as useRuntimeConfig, m as getResponseStatusText, n as getResponseStatus, o as defineRenderHandler, q as publicAssetsURL, r as getQuery, t as createError, v as destr, x as getRouteRules, j as joinURL, y as useNitroApp } from '../nitro/nitro.mjs';
|
||||
import { renderToString } from 'vue/server-renderer';
|
||||
import { createHead as createHead$1, propsToString, renderSSRHead } from 'unhead/server';
|
||||
import { stringify, uneval } from 'devalue';
|
||||
@@ -64,7 +64,7 @@ const appId = "nuxt-app";
|
||||
const APP_ROOT_OPEN_TAG = `<${appRootTag}${propsToString(appRootAttrs)}>`;
|
||||
const APP_ROOT_CLOSE_TAG = `</${appRootTag}>`;
|
||||
// @ts-expect-error file will be produced after app build
|
||||
const getServerEntry = () => import('../build/server.mjs').then(function (n) { return n.bH; }).then((r) => r.default || r);
|
||||
const getServerEntry = () => import('../build/server.mjs').then(function (n) { return n.bI; }).then((r) => r.default || r);
|
||||
// @ts-expect-error file will be produced after app build
|
||||
const getPrecomputedDependencies = () => import('../build/client.precomputed.mjs').then((r) => r.default || r).then((r) => typeof r === "function" ? r() : r);
|
||||
// -- SSR Renderer --
|
||||
@@ -189,7 +189,7 @@ const unheadOptions = {
|
||||
|
||||
function createSSRContext(event) {
|
||||
const ssrContext = {
|
||||
url: decodePath(event.path),
|
||||
url: event.path,
|
||||
event,
|
||||
runtimeConfig: useRuntimeConfig(event),
|
||||
noSSR: event.context.nuxt?.noSSR || (false),
|
||||
|
||||
Reference in New Issue
Block a user