qwik
qwik copied to clipboard
Netlify adapter does not respect entry.ssr settings
Qwik Version
0.10.0
Operating System (or Browser)
OSX 12.6 / any browser
Node Version (if applicable)
16.13.0
Which component is affected?
Qwik Runtime
Expected Behaviour
html lang attribute is also present when using netlify adapter
Actual Behaviour
html lang attribute is missing when netlify adapter is present
Additional Information
steps to repro:
- create a new app
- add netlify adapter
- open
entry.ssr.tsxfile - change content to:
export default function (opts: RenderToStreamOptions) {
return renderToStream(<Root />, {
manifest,
containerAttributes: {
lang: "de",
},
...opts,
prefetchStrategy: {
implementation: {
linkInsert: null,
workerFetchInsert: null,
prefetchEvent: "always",
},
},
});
}
- run
npm run buildand inspect output in the netlify directory
tested the node adapter which is working as expected 👍
npm run preview does not work because of #1393
solved with 0.11.1