birdpack 1.0.12 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/core.js +2 -0
  2. package/package.json +1 -1
package/lib/core.js CHANGED
@@ -328,6 +328,8 @@ module.exports = class{
328
328
  fileRange = 'stream';
329
329
  }
330
330
  options.type = fileType[fileExt];
331
+ }else{
332
+ options.type = 'application';
331
333
  }
332
334
 
333
335
  if(options.stream === true){
package/package.json CHANGED
@@ -3,6 +3,6 @@
3
3
  "description": "BirdPack web framework is a tool for web server via TCP HTTP supporting websocket focusing on speed.",
4
4
  "author":"R938",
5
5
  "license":"R938",
6
- "version":"1.0.12",
6
+ "version":"1.0.13",
7
7
  "main": "index.js"
8
8
  }