Skip to content

Failure to load platform assets if loading through HTTPS #66

@ggiraldez

Description

@ggiraldez

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions