Serve flow page under 8093 path

This commit is contained in:
2026-06-24 08:36:53 +09:00
parent 5b7444ad9a
commit 7012318534
2 changed files with 13 additions and 1 deletions

View File

@@ -1958,8 +1958,9 @@ export default function App() {
const openProgramWindow = (programId) => {
publishProgramStates(programStates);
const appPath = window.location.pathname.startsWith('/8093') ? '/8093' : window.location.pathname || '/8093';
window.open(
`/?view=program-detail&program=${encodeURIComponent(programId)}`,
`${appPath}?view=program-detail&program=${encodeURIComponent(programId)}`,
'program-detail-flow',
'popup=yes,width=620,height=990,left=80,top=40,resizable=yes,scrollbars=yes'
);