A few days ago I was adding a regex in config files (default, local, development, test, production, staging) in the backend of
@RealDevSquad
's website for the CORS allowed origins. I learnt about how these are read in the code and how they work in different environments.