At last, update repo link

This commit is contained in:
Mint 2022-11-29 22:54:13 +03:00
parent d0f1fe5c06
commit 614aef2762
2 changed files with 2 additions and 3 deletions

3
api.py
View file

@ -27,8 +27,7 @@ def info():
return { return {
"known_instances": known, "known_instances": known,
"indexed_instances": indexed, "indexed_instances": indexed,
"blocks_recorded": blocks, "blocks_recorded": blocks
"source_code": "https://git.kiwifarms.net/mint/fedi-block-api",
} }
@app.get(base_url+"/api") @app.get(base_url+"/api")

View file

@ -103,7 +103,7 @@
known instances: {{info.known_instances}}<br/> known instances: {{info.known_instances}}<br/>
indexed instances: {{info.indexed_instances}}<br/> indexed instances: {{info.indexed_instances}}<br/>
blocks recorded: {{info.blocks_recorded}}<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> </div>
{% endif %} {% endif %}
</body> </body>