mirror of https://github.com/encode/starlette.git
Fix file path argument (#255)
This commit is contained in:
parent
cad82793d1
commit
25244b5c98
|
@ -195,6 +195,6 @@ class App:
|
||||||
self.scope = scope
|
self.scope = scope
|
||||||
|
|
||||||
async def __call__(self, receive, send):
|
async def __call__(self, receive, send):
|
||||||
response = FileResponse('/statics/favicon.ico')
|
response = FileResponse('statics/favicon.ico')
|
||||||
await response(receive, send)
|
await response(receive, send)
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue