mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2024-09-20 11:20:08 +00:00
Changing backend service url.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
65cde9960f
commit
c95dee84f2
@ -192,7 +192,7 @@ def get_pki_data(url, data=None, method='GET'):
|
|||||||
method = 'GET'
|
method = 'GET'
|
||||||
if (data is not None):
|
if (data is not None):
|
||||||
method = 'POST'
|
method = 'POST'
|
||||||
req = urllib.request.Request(f"https://www.henarejos.me/pico/pico-hsm/{url}/",
|
req = urllib.request.Request(f"https://www.picokeys.com/pico/pico-hsm/{url}/",
|
||||||
method=method,
|
method=method,
|
||||||
data=data,
|
data=data,
|
||||||
headers={'User-Agent': user_agent, })
|
headers={'User-Agent': user_agent, })
|
||||||
|
Loading…
Reference in New Issue
Block a user