[+] Add favicon
This commit is contained in:
@@ -70,10 +70,15 @@ def expand(short: str):
|
||||
|
||||
|
||||
@app.get('/')
|
||||
def get():
|
||||
def index():
|
||||
return FileResponse('index.html')
|
||||
|
||||
|
||||
@app.get('/favicon.ico')
|
||||
def favicon():
|
||||
return FileResponse('favicon.ico')
|
||||
|
||||
|
||||
@app.put('/')
|
||||
def put(name: str | None = None, body: str = Body()):
|
||||
try:
|
||||
|
||||
BIN
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
Reference in New Issue
Block a user