Skip to content

Conversation

@NullRien
Copy link

@NullRien NullRien commented Dec 6, 2024

checks.yml

Noticed that the ec2-54-173-89-228.compute-1.amazonaws.com URL was causing issues after a hour of debugging. Changed it to ec2-54-173-89-228.compute-1.amazonaws.net to still show that the site is down but not have that weird port bug.

tinystatus.py

Added some tiny formatting fixes and a auto download if user accidentally deleted files. (Or I spent a awhile debugging why it was not working when I deleted , more of a useless QOL enhancement or a easy way to update files).
Also fixed a bug where if user manually edited history.json (and made a error) or wiped the database by just deleting everything in the file in staid of just deleting the file itself there would be a json decode error. Long story short added a funny try except to stop user error.

Changed amazonaws.com to amazonaws.net because of some weird ping error (and also to still show the failed message)
Small formatting changes added a get_missing_files function (if you want to quickly update to the latest files or accidentally deleted one or 2 like me)
Fixed bug and added one new line, crazy right
removed the double quotes i added for some reason?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant