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