Update Astro configuration to use middleware mode for Node adapter
- Changed the Node adapter mode from 'standalone' to 'middleware' in astro.config.ts to support new server functionalities.
This commit is contained in:
@@ -26,7 +26,7 @@ const whenExternalScripts = (items: (() => AstroIntegration) | (() => AstroInteg
|
||||
|
||||
export default defineConfig({
|
||||
output: 'server',
|
||||
adapter: node({ mode: 'standalone' }),
|
||||
adapter: node({ mode: 'middleware' }),
|
||||
|
||||
server: {
|
||||
port: 3000,
|
||||
|
||||
Reference in New Issue
Block a user