0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-10 22:38:53 -05:00

fix: use new middlewareMode config settings

This commit is contained in:
bholmesdev 2022-06-23 12:16:19 -04:00
parent 90df3c9a85
commit bde086aa97

View file

@ -73,8 +73,9 @@ class AstroBuilder {
mode: this.mode, mode: this.mode,
server: { server: {
hmr: false, hmr: false,
middlewareMode: 'ssr', middlewareMode: true,
}, },
appType: 'custom',
}, },
{ astroConfig: this.config, logging, mode: 'build' } { astroConfig: this.config, logging, mode: 'build' }
); );