File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ A minimal static file handler for chubbyts-http-types.
32
32
Through [ NPM] ( https://www.npmjs.com ) as [ @chubbyts/chubbyts-http-static-file ] [ 1 ] .
33
33
34
34
``` ts
35
- npm i @chubbyts / chubbyts - http - static - file @^ 3.0 .2
35
+ npm i @chubbyts / chubbyts - http - static - file @^ 3.0 .3
36
36
```
37
37
38
38
## Usage
@@ -55,7 +55,7 @@ const handler = createStaticFileHandler(
55
55
56
56
// for example as a fallback route matching everything
57
57
const route = createGetRoute ({
58
- path: ' /(.*) ' ,
58
+ path: ' /*path ' ,
59
59
name: ' static_file' ,
60
60
handler ,
61
61
});
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @chubbyts/chubbyts-http-static-file" ,
3
3
"type" : " module" ,
4
- "version" : " 3.0.2 " ,
4
+ "version" : " 3.0.3 " ,
5
5
"description" : " A minimal static file handler for chubbyts-http-types." ,
6
6
"keywords" : [
7
7
" chubbyts" ,
You can’t perform that action at this time.
0 commit comments