Skip to content

chore: refactor KeymanHosts #13

@mcdurdin

Description

@mcdurdin

KeymanHosts is currently overly complex. However there are a number of challenges around determining which URLs to be using by various parts of the sites -- for example handling overrides for development (as we may not want to be running e.g. api.keyman.com locally).

  1. Use a table-based structure rather than constructing URLs, so that we have explicit references to each tier's possible URLs.
  2. Allow for overrides on DEVELOPMENT tier from a localenv.php? file
  3. Use the same table to generate javascript constants for scripts -- and always use the constants and don't guess
  4. Ensure TIER_TEST overrides.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions