Emi Matchu
6763e9454e
To activate this, I created a `.env.development` file in my project root, with the following content: ```env IMPRESS_2020_ORIGIN=http://localhost:4000 ``` Then, I started impress-2020 with `yarn dev --port=4000`. Now, the app loads from there, hooray!! It even fixes that obnoxious pet state ID bug that happens when you run against the production db lol
2 lines
108 B
Ruby
2 lines
108 B
Ruby
Rails.configuration.impress_2020_origin =
|
|
ENV["IMPRESS_2020_ORIGIN"] || "https://impress-2020.openneo.net"
|