juju-solutions / cloud-weather-report

Apache License 2.0
3 stars 7 forks source link

Improve base URL and CSS handling #72

Closed johnsca closed 8 years ago

johnsca commented 8 years ago

Instead of requiring a --base-url CLI option, use the tag to enable all relative URLs to work.

Also include the CSS in the datastore and use relative URLs for those as well. This fixes mixed-content issues when served from S3 which requires HTTPS.

Demo on S3 at: https://s3.amazonaws.com/test-cwr-status/cwr/index.html