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
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-rails gem
load the value from the environment variable in the settings.yml file
symlink the settings.yml file in the shared directory of the deployed application
The text was updated successfully, but these errors were encountered:
ggiraldez
changed the title
Cannot override InSTEDD's theme base prefix in production
Failure to load platform assets if loading through HTTPS
Nov 1, 2016
Many InSTEDD application using the
instedd-rails
gem will use the base prefix from the environment variableINSTEDD_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:
instedd-rails
gemsettings.yml
filesettings.yml
file in the shared directory of the deployed applicationThe text was updated successfully, but these errors were encountered: