MongoEngine / flask-mongoengine

MongoEngine flask extension with WTF model forms support
Other
840 stars 255 forks source link

Failing debug_toolbar from subdomain (under https loads static files with http - blocked by browser) #520

Closed rimvislt closed 1 year ago

rimvislt commented 1 year ago

When loading from xxx.test toolbar links are using https but when using domain admin.xxx.test debug toolbar is using http for loading assets and both browsers chrome and firefox are now blocking by default under https loading http.

SERVER_NAME: 'xxx.test' PREFERRED_URL_SCHEME = "https"

register subdomain blueprint
app.register_blueprint( bp, url_prefix='/', subdomain=admin )

Firefox URL https://admin.xxx.test Blocked loading mixed active content "http://xxx.test/_debug_toolbar/static/js/jquery.js" home Loading failed for the Githubissues.

  • Githubissues is a development platform for aggregating issues.