Skip to content

utils/connectionHostname

Overview

Derives the backend connection hostname from the current window location, optionally overriding the port via the VITE_DJANGO_CONNECTION_PORT environment variable.

Properties

connectionHostname

Type: string

Source: client/lib/utils/connectionHostname.js:25

httpOrHttpsHostname

Type: string

Source: client/lib/utils/connectionHostname.js:28

wsOrWssHostname

Type: string

Source: client/lib/utils/connectionHostname.js:31

Source

client/lib/utils/connectionHostname.js:1

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2