Skip to content

Commit d6464a6

Browse files
committed
fix: move appType to correct namespace
1 parent 4bd1d80 commit d6464a6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

server.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ const app = express()
1010
const vite = await createServer({
1111
root: resolve('.'),
1212
logLevel: 'info',
13+
appType: 'custom',
1314
server: {
1415
middlewareMode: true,
15-
appType: 'custom',
1616
watch: {
1717
// During tests we edit the files too fast and sometimes chokidar
1818
// misses change events, so enforce polling for consistency
@@ -33,6 +33,8 @@ app.use('*', async (req, res) => {
3333

3434
const renderRes = await render(url);
3535

36+
console.log()
37+
3638
const html = template
3739
.replace(`<!--app-html-->`, renderRes.html);
3840

0 commit comments

Comments
 (0)