Update API endpoint URL of anonymous report

This commit is contained in:
Théophile Diot 2023-12-08 08:34:30 +01:00
parent 607a201c73
commit e9737dcf4d
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06

View file

@ -45,7 +45,7 @@ try:
data["external_plugins"] = [plugin["id"] for plugin in db.get_plugins(external=True)]
response = post(
"http://api:8080/data",
"https://api.bunkerweb.io/data",
json=data,
headers={"User-Agent": f"BunkerWeb/{data['version']}"},
allow_redirects=True,