mirror of
https://github.com/projecthorus/sondehub-infra.git
synced 2025-04-15 14:46:39 +00:00
update url for redirect
Some checks failed
Terraform GitHub Actions / Terraform (push) Has been cancelled
Some checks failed
Terraform GitHub Actions / Terraform (push) Has been cancelled
This commit is contained in:
parent
6c93cb9bd5
commit
5f4ca10427
@ -25,8 +25,8 @@ def handler(event, context):
|
||||
if uri.startswith('/go/status'):
|
||||
return redirect("https://grafana.v2.sondehub.org/d/bhdBI0KVz/infrastructure")
|
||||
if uri.startswith('/go/discord'):
|
||||
# Discord invite URL as of 2024-04-12
|
||||
return redirect('https://discord.gg/DHd9UgenEb')
|
||||
# Discord invite URL as of 2025-04-07
|
||||
return redirect('https://discord.gg/G6QMVM3mCd')
|
||||
if uri.startswith('/go/'):
|
||||
tinyurl = uri.replace("/go/", "")
|
||||
return redirect('https://tinyurl.com/' + tinyurl)
|
||||
|
@ -25,7 +25,7 @@ from . import *
|
||||
def find_indexes():
|
||||
|
||||
response = es.request("",
|
||||
"_cat/indices/predictions-*,-predictions-*-rollup?format=json",
|
||||
"_cat/indices/predictions-2024*,-predictions-*-rollup?format=json",
|
||||
"GET")
|
||||
return [x['index'] for x in response]
|
||||
print(response)
|
||||
|
Loading…
x
Reference in New Issue
Block a user