mirror of
https://github.com/GMWalletApp/epusdt.git
synced 2026-07-07 18:26:16 +00:00
fix(http): block /install page after setup is complete
- skip SPA fallback for `/install` and `/install/*` in main server - keep install wizard accessible only during `RunInstallServer` phase - prevent post-install access to install UI
This commit is contained in:
@@ -0,0 +1 @@
|
||||
import{Tu as e}from"./messages-xqHXgrWc.js";import{t}from"./_error-C4Q3lqci.js";import{m as n}from"./search-provider-udckA1q-.js";import{n as r,t as i}from"./theme-switch-Bz2aiHbD.js";import{t as a}from"./general-error-CAIDyDhH.js";import{t as o}from"./not-found-error-BKAx_mEr.js";import{t as s}from"./unauthorized-error-BlVgwebo.js";import{t as c}from"./forbidden-C7g3z0HN.js";import{t as l}from"./maintenance-error-vtpJpThI.js";import{n as u,r as d,t as f}from"./header-ChKsBqaX.js";var p=e();function m(){let{error:e}=t.useParams(),m={unauthorized:s,forbidden:c,"not-found":o,"internal-server-error":a,"maintenance-error":l}[e]||o;return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsxs)(f,{className:`border-b`,fixed:!0,children:[(0,p.jsx)(u,{}),(0,p.jsxs)(`div`,{className:`ms-auto flex items-center space-x-4`,children:[(0,p.jsx)(r,{}),(0,p.jsx)(i,{}),(0,p.jsx)(n,{}),(0,p.jsx)(d,{})]})]}),(0,p.jsx)(`div`,{className:`flex-1 [&>div]:h-full`,children:(0,p.jsx)(m,{})})]})}export{m as component};
|
||||
Reference in New Issue
Block a user