bunext/dist/presets/server-error.js
2026-03-19 05:27:31 +01:00

20 lines
774 B
JavaScript

import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
export default function DefaultServerErrorPage({ children, }) {
return (_jsxs("div", { style: {
width: "100vw",
height: "100vh",
overflow: "hidden",
display: "flex",
alignItems: "center",
justifyContent: "center",
flexDirection: "column",
gap: "20px",
}, children: [_jsx("h1", { children: "500 Internal Server Error" }), _jsx("div", { style: {
maxWidth: "800px",
overflowWrap: "break-word",
wordBreak: "break-all",
maxHeight: "80vh",
overflowY: "auto",
}, children: children })] }));
}