Skip to content

← All questions

Four environments, same app — how should base URLs be laid out so nobody copies the wrong one?

Asked 6,740 views3 answers

We are moving off a home-grown runner where the base URL was a giant switch statement in a helper. Four targets: a stack we bring up on the laptop, a shared dev box, staging and a read-only production smoke.

What does the idiomatic layout look like here? One file per target, or one file with a map inside it?

asked by Helle Borg352 ·

3 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related