OctoPrint-Themeify icon indicating copy to clipboard operation
OctoPrint-Themeify copied to clipboard

Odd issue with http vs https

Open KenLucke opened this issue 5 years ago • 2 comments

I have just discovered that if I access my OctoPrint instance (set to Discoranged in Themify) with http:// and with https://, I get different color schemes. OctoPrint Version 1.4.0/Themeify Version 1.2.2/Mac OS X 15.5.5/Firefox and Safari.

All of these are the same instance, at the same IP (well, .52 is LAN, .53 is WiFi), with no changes in settings. The scheme is the same if I access with http:// via the LAN ip or the WiFi ip, but if I access via https:// via LAN ip, it is as shown, and if I access via https:// via WiFi IP is is stock, even though going into the preferences shows that it is set to Discoranged.

Via http:// LAN: CR-10v2 (Blue)  OctoPrint  0% - 2020-07-12 17-36-44

via https:// LAN: CR-10v2 (Blue)  OctoPrint  0% - 2020-07-12 17-37-28

via http:// WiFi: CR-10v2 (Blue)  OctoPrint  2020-07-12 17-49-17

via https:// WiFi CR-10v2 (Blue)  OctoPrint  2020-07-12 17-49-52

KenLucke avatar Jul 13 '20 00:07 KenLucke

Interesting. This might be due to different localstorages between the protocols. This should mostly be used to cache the current theme, so that the "time-to-paint" is lower. Seems like a bug that its not overriden by the setting once loaded.

Birkbjo avatar Sep 04 '20 00:09 Birkbjo

Did you try to switch to another theme, then back again?

Birkbjo avatar Nov 04 '20 23:11 Birkbjo