angel_static 1.3.0
angel_static: ^1.3.0 copied to clipboard
Static server middleware for Angel.
1.3.0 #
pushStateusesstrictmode whenacceptsis passed.
1.3.0-alpha+2 #
- Added an
acceptsoption topushState. - Added optional directory listings.
1.3.0-alpha #
- Removed file transformers.
VirtualDirectoryis no longer anAngelPlugin, and instead exposes ahandleRequestmiddleware.- Added
pushStatetoVirtualDirectory.
1.2.5 #
- Fixed a bug where
onlyInProductionwas not properly adhered to. - Fixed another bug where
Accept-Encodingwas not properly adhered to. - Setting
maxAgetonullwill now prevent aCachingVirtualDirectoryfrom sending anExpiresheader. - Pre-built assets can now be mass-deleted with
VirtualDirectory.cleanFromDisk(). Resolves #22.
1.2.4+1 #
Fixed a bug where Accept-Encoding was not properly adhered to.
1.2.4 #
Fixes https://github.com/angel-dart/angel/issues/44.
- MIME types will now default to
application/octet-stream. - When
streamToIOistrue, the body will only be sent gzipped if the request explicitly allows it.
1.2.3 #
Fixed #40 and #41, which dealt with paths being improperly served when using a
publicPath.