Skip to content

HMR WebSocket doesn't respect Application.config.baseUrl #257

Closed
@KotlinIsland

Description

@KotlinIsland

framework/core/hmr.ts

const { location } = window as any
const { protocol, host } = location
...
const url = (protocol === 'https:' ? 'wss' : 'ws') + '://' + host + '/_hmr'
const socket = new WebSocket(url)

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✘ bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions