mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +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