mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 09:33:54 +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 = {
|
const ssrContext = {
|
||||||
url,
|
url,
|
||||||
|
req,
|
||||||
|
res,
|
||||||
runtimeConfig: {
|
runtimeConfig: {
|
||||||
public: config.public,
|
public: config.public,
|
||||||
private: config.private
|
private: config.private
|
||||||
|
Loading…
Reference in New Issue
Block a user