Skip to content

Not working with SSR enabled #23

Description

@JoniLieh

Hello and thanks for this awesome package!

I have a problem when ssr is enabled, the webpage takes forever to load and nothing happens.
In the console there is / -> http://localhost:3001/ I think this looks good tho.

I tested it with ssr: false → works, ssr: true → doesn't work. (same goes for ws)

"nuxt": "^3.9.1",
"@nuxt-alt/proxy": "^2.5.6"
proxy: {
    debug: true,
    experimental: {
      listener: true
    },
    proxies: {
      "/api": {
        target: "http://localhost:3001/",
        changeOrigin: true,
        rewrite: (path: string) => path.replace(/^\/api/, '')
      }
    }
  }

Metadata

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