Fix typo
This commit is contained in:
parent
9f63ef57d9
commit
bf8071d34c
3 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
|||
# 2.0.2
|
||||
* Fixed invalid HTML for directory listings.
|
||||
|
||||
# 2.0.1
|
||||
* Remove use of `sendFile`.
|
||||
* Add a `p.isWithin` check to ensure that paths do not escape the `source` directory.
|
||||
|
|
|
@ -159,7 +159,7 @@ class VirtualDirectory {
|
|||
..write(
|
||||
'<head><meta name="viewport" content="width=device-width,initial-scale=1">')
|
||||
..write('<style>ul { list-style-type: none; }</style>')
|
||||
..write('</head></html><body>');
|
||||
..write('</head><body>');
|
||||
|
||||
res.write('<li><a href="..">..</a></li>');
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ environment:
|
|||
sdk: ">=1.8.0 <3.0.0"
|
||||
homepage: https://github.com/angel-dart/static
|
||||
author: Tobe O <thosakwe@gmail.com>
|
||||
version: 2.0.1
|
||||
version: 2.0.2
|
||||
dependencies:
|
||||
angel_framework: ^2.0.0-alpha
|
||||
file: ^5.0.0
|
||||
|
|
Loading…
Reference in a new issue