Skip to content

Added setters as an option instead of hardcoded variables.#31

Open
bytestream wants to merge 1 commit into
aaronlord:masterfrom
bytestream:empty_option
Open

Added setters as an option instead of hardcoded variables.#31
bytestream wants to merge 1 commit into
aaronlord:masterfrom
bytestream:empty_option

Conversation

@bytestream

Copy link
Copy Markdown

It was becoming painful to commit the routes js file to our git repo as the root URL would often change between developers.

This basically adds the option to generate a blank javascript file, without any of the configuration variables being hardcoded. You can then set the variables at run time as appropriate

@RusinovAnton

Copy link
Copy Markdown

Hey there, why wouldn't you just put it into .gitignore and generate it separately for each separate environment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants