domainService

AngularJS Service that figures out the subdomain.

Members

(static, readonly) api :string

The URL to the API root (e.g. https://api.thetrainingarcade.com/api/v5/).

Source:
Type:
  • string

(static, readonly) base :string

The base hostname. Typically this is the full hostname with the leftmost segment removed.

Source:
Type:
  • string

(static, readonly, nullable) domain :string

The domain identifier. Typically this is the leftmost segment of the full hostname, but may be overriden with the forceDomain environment variable.

Source:
Type:
  • string