|
|
@ -15,7 +15,9 @@ |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
|
|
|
|
|
|
|
|
//________________________________________________________________ |
|
|
|
//________________________________________________________________ |
|
|
|
const endpoint = 'https://192.168.1.6:8443/' // unfortunately not public yet due to API usage on poly.pizza |
|
|
|
const endpointDomainOrIP = '192.168.0.129' // note that if the certificate is NOT proper, then consider opening it first to accept it on device |
|
|
|
|
|
|
|
// e.g https://hmd.link/?https://192.168.0.129:8443/ |
|
|
|
|
|
|
|
const endpoint = 'https://'+endpointDomainOrIP+':8443/' // unfortunately not public yet due to API usage on poly.pizza |
|
|
|
|
|
|
|
|
|
|
|
function getModelFromKeyword(keyword){ |
|
|
|
function getModelFromKeyword(keyword){ |
|
|
|
fetch(endpoint+"search?keyword="+keyword) |
|
|
|
fetch(endpoint+"search?keyword="+keyword) |
|
|
|