Skip to content

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

Closed
@cliqer

Description

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)

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions