-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Many InSTEDD application using the instedd-rails gem will use the base prefix from the environment variable INSTEDD_THEME to load the platform assets. This allows overriding the value in runtime and provide a valid HTTPS URL for using when loading the site through SSL (modern browsers refuse to load HTTP assets if the page is loaded through a secure connection).
Pollit has the theme base URL set in the settings.yml file, but this file is not symlinked by the Capistrano deployment task, effectively not allowing the value to be configured at runtime.
Either:
- use the
instedd-railsgem - load the value from the environment variable in the
settings.ymlfile - symlink the
settings.ymlfile in the shared directory of the deployed application