diff --git a/litecord/blueprints/static.py b/litecord/blueprints/static.py index 99ca3a6..244b645 100644 --- a/litecord/blueprints/static.py +++ b/litecord/blueprints/static.py @@ -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' diff --git a/static/index.html b/static/index.html index 88c8cc7..778c0a4 100644 --- a/static/index.html +++ b/static/index.html @@ -14,8 +14,17 @@

- Litecord is server software that implements - the Discord API. + Litecord is an open-source reimplementation of the Discord API. +

+ +

+ Discord frontend modifications being hosted in this instance + are not, and will never be, related to the Litecord project. +

+ +

+ By acessing an instance containing such modifications, the instance + is breaking the Discord Terms of Service. Proceed with caution.

@@ -24,10 +33,14 @@

- Litecord source code + + Litecord source code +

- This instance's nodeinfo + + This instance's nodeinfo (general statistics) +