Skip to content
Permalink
Browse files

call OpenLayers throught HTTPS

Will avoid mixed content errors when your service is deployed with HTTPS (which it should be). And won't be no harm if still HTTP.
  • Loading branch information...
gsueur committed Jan 23, 2019
1 parent 330f0eb commit d941887630c54d7417fda8cb3397dcca9bd9f34d
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/service_demo.c
@@ -57,7 +57,7 @@ static char *demo_head =
" padding: 0px;\n"
" }\n"
" </style>\n"
" <script src=\"http://www.openlayers.org/api/OpenLayers.js\"></script>\n"
" <script src=\"https://www.openlayers.org/api/OpenLayers.js\"></script>\n"
" <script type=\"text/javascript\">\n"
"%s\n"
"var map;\n"

0 comments on commit d941887

Please sign in to comment.
You can’t perform that action at this time.