File Explorer

/proc/4/task/5/root/var/task/_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
router-Czoq98Qp.mjs2.8 KB · 115 lines
import { c as HeadContent, f as createFileRoute, g as require_jsx_runtime, p as createRootRoute, s as Scripts, u as createRouter } from "../_libs/@tanstack/react-router+[...].mjs";import { t as Route$2 } from "./routes-CPlVcNZL.mjs";//#region node_modules/.nitro/vite/services/ssr/assets/router-Czoq98Qp.jsvar import_jsx_runtime = require_jsx_runtime();var styles_default = "/assets/styles-BgTOpOzv.css";var SITE_TITLE = "File Explorer";var SITE_DESCRIPTION = "A fast, mobile-friendly explorer for browsing files and folders across the filesystem.";var Route$1 = createRootRoute({	head: () => ({		meta: [			{ charSet: "utf-8" },			{				name: "viewport",				content: "width=device-width, initial-scale=1, viewport-fit=cover"			},			{				name: "robots",				content: "noindex, nofollow"			},			{ title: SITE_TITLE },			{				name: "description",				content: SITE_DESCRIPTION			},			{				name: "theme-color",				content: "#05070a"			},			{				property: "og:title",				content: SITE_TITLE			},			{				property: "og:description",				content: SITE_DESCRIPTION			},			{				property: "og:type",				content: "website"			},			{				property: "og:image",				content: "/api/og"			},			{				name: "twitter:card",				content: "summary_large_image"			},			{				name: "twitter:title",				content: SITE_TITLE			},			{				name: "twitter:description",				content: SITE_DESCRIPTION			},			{				name: "twitter:image",				content: "/api/og"			}		],		links: [			{				rel: "stylesheet",				href: styles_default			},			{				rel: "icon",				href: "/favicon.svg",				type: "image/svg+xml"			},			{				rel: "icon",				href: "/favicon.ico",				sizes: "any"			}		]	}),	shellComponent: RootDocument});function RootDocument({ children }) {	return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("html", {		lang: "en",		className: "dark",		children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("head", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(HeadContent, {}) }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("body", { children: [children, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Scripts, {})] })]	});}var Route = createFileRoute("/api/og")({ server: { handlers: { GET: async ({ request }) => {	const fallback = new URL("/og.jpg", request.url).toString();	return Response.redirect(fallback, 302);} } } });var rootRouteChildren = {	IndexRoute: Route$2.update({		id: "/",		path: "/",		getParentRoute: () => Route$1	}),	ApiOgRoute: Route.update({		id: "/api/og",		path: "/api/og",		getParentRoute: () => Route$1	})};var routeTree = Route$1._addFileChildren(rootRouteChildren)._addFileTypes();function getRouter() {	return createRouter({		routeTree,		scrollRestoration: true,		defaultPreload: "intent",		defaultPreloadStaleTime: 0	});}//#endregionexport { getRouter };