static/index: fix litecord gitlab url

This commit is contained in:
Luna 2018-12-05 20:49:27 -03:00
parent 588fb94787
commit 1d7ea31a11
2 changed files with 18 additions and 4 deletions

View File

@ -15,6 +15,7 @@ async def static_pages(path):
@bp.route('/')
@bp.route('/api')
async def index_handler():
"""Handler for the index page."""
index_path = Path.cwd() / Path('static') / 'index.html'

View File

@ -14,8 +14,17 @@
</h1>
<p>
Litecord is server software that implements
the Discord API.
Litecord is an open-source reimplementation of the Discord API.
</p>
<p>
Discord frontend modifications being hosted in this instance
are not, and will never be, related to the Litecord project.
</p>
<p>
By acessing an instance containing such modifications, the instance
is breaking the Discord Terms of Service. Proceed with caution.
</p>
<p>
@ -24,10 +33,14 @@
</p>
<p>
<a href="https://gitlab.com/luna/litecord">Litecord source code</a>
<a href="https://gitlab.com/litecord/litecord">
Litecord source code
</a>
</p>
<p>
<a href="{{request.protocol}}/nodeinfo/2.0.json">This instance's nodeinfo</a>
<a href="{{request.protocol}}/nodeinfo/2.0.json">
This instance's nodeinfo (general statistics)
</a>
</p>
</main>