[+] Add favicon

This commit is contained in:
Hykilpikonna
2022-08-15 18:07:17 -04:00
parent 4077eb969f
commit 3c66d4b0c3
2 changed files with 6 additions and 1 deletions
+6 -1
View File
@@ -70,10 +70,15 @@ def expand(short: str):
@app.get('/') @app.get('/')
def get(): def index():
return FileResponse('index.html') return FileResponse('index.html')
@app.get('/favicon.ico')
def favicon():
return FileResponse('favicon.ico')
@app.put('/') @app.put('/')
def put(name: str | None = None, body: str = Body()): def put(name: str | None = None, body: str = Body()):
try: try:
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB