Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiple domains is broken - 'req is not defined' #293

Closed
cliqer opened this issue May 7, 2019 · 1 comment
Closed

multiple domains is broken - 'req is not defined' #293

cliqer opened this issue May 7, 2019 · 1 comment

Comments

@cliqer
Copy link

cliqer commented May 7, 2019

Version

v5.3.0

Reproduction link

https://codesandbox.io/s/wwwp0jpxow?from-embed

Steps to reproduce

still haven't dug deep enough but after upgrading I started getting this error

What is expected ?

Multiple domains to work

What is actually happening?

req is not defined

Additional comments?

Adding req in

export default async (context) => {
  const { app, route, store, res, req } = context;

within /node_modules/nuxt-i18n/src/main.js solves the problem

This bug report is available on Nuxt community (#c236)
@ghost ghost added the cmty:bug-report label May 7, 2019
@rchl
Copy link
Collaborator

rchl commented May 8, 2019

Clearly a bug from my changes, will fix ASAP, sorry.

@paulgv paulgv closed this as completed in 17f1e07 May 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants