mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-30 15:22:39 +00:00
Avoid using req.url
This commit is contained in:
parent
1c3b2c077a
commit
26083a9de0
@ -187,7 +187,7 @@ export default context => {
|
||||
return _app
|
||||
}
|
||||
<% if (isDev) { %>
|
||||
debug('Data fetching ' + context.req.url + ': ' + (Date.now() - s) + 'ms')
|
||||
debug('Data fetching ' + context.url + ': ' + (Date.now() - s) + 'ms')
|
||||
<% } %>
|
||||
// datas are the first row of each
|
||||
context.nuxt.data = res.map((r) => (r[0] || {}))
|
||||
|
Loading…
Reference in New Issue
Block a user