mirror of https://gitlab.com/litecord/litecord.git
static/index: fix litecord gitlab url
This commit is contained in:
parent
588fb94787
commit
1d7ea31a11
|
|
@ -15,6 +15,7 @@ async def static_pages(path):
|
||||||
|
|
||||||
|
|
||||||
@bp.route('/')
|
@bp.route('/')
|
||||||
|
@bp.route('/api')
|
||||||
async def index_handler():
|
async def index_handler():
|
||||||
"""Handler for the index page."""
|
"""Handler for the index page."""
|
||||||
index_path = Path.cwd() / Path('static') / 'index.html'
|
index_path = Path.cwd() / Path('static') / 'index.html'
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,17 @@
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Litecord is server software that implements
|
Litecord is an open-source reimplementation of the Discord API.
|
||||||
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>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
@ -24,10 +33,14 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<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>
|
||||||
<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>
|
</p>
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue