import { render } from '../dist-ssr/entry-server.js'; import { DEFAULT_PATH } from '../src/config.js'; const testUrls = [ '/', DEFAULT_PATH, '/regions', '/admin', '/seoul/gangnam-gu/yeoksam-dong/high/korean', '/busan/haeundae-gu/u-dong/middle/english', '/invalid/random/not-exist-path' ]; console.log('=== 라우터 및 SSR 검사 시작 ===\n'); for (const url of testUrls) { try { const result = await render(url); const hasHtml = result.html && result.html.length > 50; const hasHead = typeof result.head === 'string'; const h1Count = (result.html.match(/