디렉토리 구조 개선(egbim 분리)
Deploy EG-BIM QA Gateway / deploy (push) Successful in 40s

This commit is contained in:
root
2026-09-21 16:48:42 +09:00
parent 5cc1504758
commit 9bbd9ed8ce
14 changed files with 28 additions and 29 deletions
+4
View File
@@ -16,6 +16,10 @@ export default {
return json({ error: 'method_not_allowed' }, 405);
}
if (url.pathname === '/' || url.pathname === '/index.html') {
return Response.redirect(new URL('/egbim/', url), 301);
}
if (matchesConfiguredPath(url.pathname, env.INTERNAL_ONLY_PREFIXES) && !isInternalRequest(request, env)) {
return json({ error: 'not_found' }, 404);
}