[+] Add favicon
This commit is contained in:
@@ -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
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
Reference in New Issue
Block a user