You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Besides the secrets max-length, the following values could also be stored in some kind of config var:
expires after (currently a database default)
default port (hardcoded to 9292)
I would store this vars in a yaml file, just like database.yml. Maybe also overridable via ENV?
I'm not sure if there really is a need for rails like initializers, but here is an archived github project to get some inspration how this could be archived: https://github.com/chadwpry/sinatra-initializers
The max length of secrets (validation in Bin model) should be configurable.
We need a way to allow configuration files like initializers in rails.
The text was updated successfully, but these errors were encountered: