moleus / domru

domru domofon client
MIT License
7 stars 4 forks source link

fix: link Открыть #8

Closed twocolors closed 6 months ago

twocolors commented 6 months ago

when run on docker link will be like "http://localhost:18000/door?placeID" and not open door, this fix this

and i think mb other link for still_image_url, stream_source ... build from js (protocol + host)

new URL

moleus commented 6 months ago

I'll attach a reference to a similar problem with localhost: https://github.com/ad/domru/issues/11

LGTM, Thank you! I'll check on my installation and merge this PR

twocolors commented 6 months ago

@moleus try new, add js URL

twocolors commented 6 months ago

hm docker ghcr.io/moleus/domru:devel-localhost-link is work for me for open Door

Request URL:
http://kubik3.local:18000/door?placeID=********&accessControlID=*****
Request Method:
GET
Status Code:
200 OK
Remote Address:
192.168.0.10:18000
Referrer Policy:
strict-origin-when-cross-origin
moleus commented 6 months ago

image works for me too Thank you!