File Explorer

/proc/4/root/proc/4/task/4/cwd/_ssr

This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.

0 dirs
9 files
routes-CPlVcNZL.mjs1.8 KB · 43 lines
import { d as lazyRouteComponent, f as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";import { n as createServerFn, r as getServerFnById, t as TSS_SERVER_FUNCTION } from "./ssr.mjs";//#region node_modules/.nitro/vite/services/ssr/assets/routes-CPlVcNZL.jsvar createSsrRpc = (functionId) => {	const url = "/_serverFn/" + functionId;	const serverFnMeta = { id: functionId };	const fn = async (...args) => {		return (await getServerFnById(functionId, { origin: "server" }))(...args);	};	return Object.assign(fn, {		url,		serverFnMeta,		[TSS_SERVER_FUNCTION]: true	});};var probeEnv = createServerFn({ method: "GET" }).handler(createSsrRpc("5423ddc1186c87712090018fdf3b2cd2b27df4037b35d013b3323d1110de1d4d"));var listDir = createServerFn({ method: "GET" }).validator((d) => d ?? {}).handler(createSsrRpc("67ab0753c5977d86d998fe2b62b3d160fa7d511fddac5d00d3db6f488f99ecbb"));var readFile = createServerFn({ method: "GET" }).validator((d) => d).handler(createSsrRpc("2aec5ec073e4b4933393facf0ef90c23771c7832c98d6e2a18f21b54aa694d82"));var $$splitComponentImporter = () => import("./routes-BaK3zTFM.mjs");var Route = createFileRoute("/")({	validateSearch: (search) => {		const out = {};		if (typeof search.path === "string" && search.path) out.path = search.path;		if (typeof search.file === "string" && search.file) out.file = search.file;		return out;	},	loaderDeps: ({ search }) => ({		path: search.path ?? "",		file: search.file ?? ""	}),	loader: async ({ deps }) => {		const [list, env] = await Promise.all([listDir({ data: { path: deps.path } }), probeEnv()]);		return {			list,			file: deps.file ? await readFile({ data: { path: deps.file } }) : null,			env		};	},	component: lazyRouteComponent($$splitComponentImporter, "component")});//#endregionexport { createSsrRpc as n, Route as t };