From f0b7a782872d6c4c4574f0bba50b7e14b859abdb Mon Sep 17 00:00:00 2001 From: Andrey Date: Sun, 9 Apr 2023 19:21:17 +0300 Subject: [PATCH] Domain change --- main.py | 4 ++-- static/templates/about.html | 24 +++++++++++++----------- static/templates/index.html | 28 +++++++++++++++------------- static/templates/projects.html | 16 +++++++++------- 4 files changed, 39 insertions(+), 33 deletions(-) diff --git a/main.py b/main.py index 52a431c..501e6f6 100644 --- a/main.py +++ b/main.py @@ -53,7 +53,7 @@ def get_declension(num: int, one: str, two: str, five: str): def load_projects(): while True: try: - resp = requests.get("https://git.mootfrost.ru/api/v1/repos/search", + resp = requests.get("https://git.mootfrost.dev/api/v1/repos/search", params={'limit': 64, 'sort': 'updated', 'order': 'desc'}).json() @@ -69,7 +69,7 @@ def load_projects(): def load_code_stats(): while True: - resp = requests.get('https://waka.mootfrost.ru/api/compat/wakatime/v1/users/Mootfrost/stats/last_7_days').json() + resp = requests.get('https://waka.mootfrost.dev/api/compat/wakatime/v1/users/Mootfrost/stats/last_7_days').json() global code_stats code_stats.clear() diff --git a/static/templates/about.html b/static/templates/about.html index 89085b7..2e4f9e5 100644 --- a/static/templates/about.html +++ b/static/templates/about.html @@ -1,20 +1,22 @@ - - - - + + + @@ -29,7 +31,7 @@
- + diff --git a/static/templates/index.html b/static/templates/index.html index 6286a07..661fb4f 100644 --- a/static/templates/index.html +++ b/static/templates/index.html @@ -1,20 +1,22 @@ - - - - + + @@ -48,7 +50,7 @@ - + @@ -56,12 +58,12 @@
- hello@mootfrost.ru + hello@mootfrost.dev

- Обо мне - Проекты + Обо мне + Проекты
diff --git a/static/templates/projects.html b/static/templates/projects.html index d5a3939..9850da3 100644 --- a/static/templates/projects.html +++ b/static/templates/projects.html @@ -3,17 +3,19 @@ - + @@ -29,7 +31,7 @@
- +