]> git.mxchange.org Git - fba.git/commitdiff
At last, update repo link
authorMint <>
Tue, 29 Nov 2022 19:54:13 +0000 (22:54 +0300)
committerMint <>
Tue, 29 Nov 2022 19:54:13 +0000 (22:54 +0300)
api.py
index.html

diff --git a/api.py b/api.py
index fbbd4da0ce74f31122fd395e67c770f02a18d03b..051fca76c4ddc24d65f53d05815f74953e7a2434 100644 (file)
--- a/api.py
+++ b/api.py
@@ -27,8 +27,7 @@ def info():
     return {
         "known_instances": known,
         "indexed_instances": indexed,
-        "blocks_recorded": blocks,
-        "source_code": "https://git.kiwifarms.net/mint/fedi-block-api",
+        "blocks_recorded": blocks
     }
 
 @app.get(base_url+"/api")
index ff31a7d23eb25eb6c8fd6e53c50b2211614c5c83..644bf1d24c22ac7e99f50034de1a938e8f3a31cf 100644 (file)
             known instances: {{info.known_instances}}<br/>
             indexed instances: {{info.indexed_instances}}<br/>
             blocks recorded: {{info.blocks_recorded}}<br/>
-            source code: <a href="{{info.source_code}}">{{info.source_code}}</a>
+            source code: <a href="https://git.kiwifarms.net/mint/fedi-block-api">git.kiwifarms.net/mint/fedi-block-api</a> (<a href="https://gitgud.io/mintplg/fedi-block-api">mirror</a>)
         </div>
     {% endif %}
 </body>