meteor-factory / meteor-admin-lte

23 stars 34 forks source link

http and https blocking #19

Closed Gervwyk closed 8 years ago

Gervwyk commented 8 years ago

I'm running my app on a cloud9-ide server which serves the app through https. When running locally the AdminLTE theme works great! Thanks for the good work! However over https, I get the following issue:

Mixed Content: The page at 'https://app-user.c9users.io/' 
 was loaded over HTTPS, but requested an insecure stylesheet 
'http://0.0.0.0:8080/packages/mfactory_admin-lte/css/AdminLTE.min.css'. 
This request has been blocked; the content must be served over HTTPS.
'http://0.0.0.0:8080/packages/mfactory_admin-lte/css/skins/skin-green.min.css'.
This request has been blocked; the content must be served over HTTPS.

Any ideas how to correct this? I'm not very experienced in working over https.

Gervwyk commented 8 years ago

Found the solution. The environment variable must be forced. Thus to run the app:

 ROOT_URL="https://app-username.c9users.io/" meteor --port $IP:$PORT

My bad. not really an Admin-LTE issue