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:
parent
90df3c9a85
commit
bde086aa97
1 changed files with 2 additions and 1 deletions
|
@ -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' }
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue