Skin ugly when accessing from URL

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
onetoomany
Posts: 7
Joined: Tue Oct 04, 2022 11:14 am

Skin ugly when accessing from URL

Post by onetoomany »

When I access ZM from an IP, I get the right skin - http://192.168.1.4/zm/index.php
When I access from a URL, it looks like I don't get the same styling - https://www.mydomain.com/zm/index.php

As far as I can tell, all CSS's, JS's, fonts etc... are accessible through both the URL and IP when I inspect on Chrome.
Attachments
url.jpg
url.jpg (164.76 KiB) Viewed 187 times
IP.jpg
IP.jpg (116.84 KiB) Viewed 187 times
yeyexen
Posts: 5
Joined: Wed Oct 05, 2022 5:08 am

Re: Skin ugly when accessing from URL

Post by yeyexen »

Options -> Web -> HOME_URL

enter yo domain name

enjoy!
User avatar
iconnor
Posts: 2880
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Skin ugly when accessing from URL

Post by iconnor »

Actually it looks like it is just choosing classic css instead of base css.

The skin is stored in a cookie, so changes depending on url. Just go Opions->Display and play around with the two options. skin=classic, css=base is the default nicer looking style.
Post Reply