Skip to content

Commit 5f4ca10

Browse files
committed
update url for redirect
1 parent 6c93cb9 commit 5f4ca10

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lambda/redirect/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ def handler(event, context):
2525
if uri.startswith('/go/status'):
2626
return redirect("https://grafana.v2.sondehub.org/d/bhdBI0KVz/infrastructure")
2727
if uri.startswith('/go/discord'):
28-
# Discord invite URL as of 2024-04-12
29-
return redirect('https://discord.gg/DHd9UgenEb')
28+
# Discord invite URL as of 2025-04-07
29+
return redirect('https://discord.gg/G6QMVM3mCd')
3030
if uri.startswith('/go/'):
3131
tinyurl = uri.replace("/go/", "")
3232
return redirect('https://tinyurl.com/' + tinyurl)

lambda/rollup_predictions/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
def find_indexes():
2626

2727
response = es.request("",
28-
"_cat/indices/predictions-*,-predictions-*-rollup?format=json",
28+
"_cat/indices/predictions-2024*,-predictions-*-rollup?format=json",
2929
"GET")
3030
return [x['index'] for x in response]
3131
print(response)

0 commit comments

Comments
 (0)