mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(nitro): pass req, res to ssr context (resolves #39)
This commit is contained in:
parent
c864c5a30c
commit
16cc09bd76
@ -32,6 +32,8 @@ export async function renderMiddleware (req, res) {
|
||||
|
||||
const ssrContext = {
|
||||
url,
|
||||
req,
|
||||
res,
|
||||
runtimeConfig: {
|
||||
public: config.public,
|
||||
private: config.private
|
||||
|
Loading…
Reference in New Issue
Block a user