5htp-core 0.5.1-91 → 0.5.1-93

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "5htp-core",
3
3
  "description": "Convenient TypeScript framework designed for Performance and Productivity.",
4
- "version": "0.5.1-91",
4
+ "version": "0.5.1-93",
5
5
  "author": "Gaetan Le Gac (https://github.com/gaetanlegac)",
6
6
  "repository": "git://github.com/gaetanlegac/5htp-core.git",
7
7
  "license": "MIT",
@@ -95,11 +95,11 @@
95
95
  "@types/mime-types": "^2.1.1",
96
96
  "@types/node": "^16.9.1",
97
97
  "@types/nodemailer": "^6.4.4",
98
+ "@types/sharp": "^0.31.1",
98
99
  "@types/universal-analytics": "^0.4.5",
99
100
  "@types/webpack-env": "^1.16.2",
100
101
  "@types/ws": "^7.4.7",
101
102
  "@types/yargs-parser": "^21.0.0",
102
- "schema-dts": "^1.1.2",
103
- "sharp": "^0.33.5"
103
+ "schema-dts": "^1.1.2"
104
104
  }
105
105
  }
@@ -206,12 +206,10 @@ export default class HttpServer {
206
206
  /*----------------------------------
207
207
  - BOOT SERVICES
208
208
  ----------------------------------*/
209
- if (!this.router.config.serverless) {
210
- console.info("Lancement du serveur web");
211
- this.http.listen(this.config.port, () => {
212
- console.info(`Web server ready on ${this.publicUrl}`);
213
- });
214
- }
209
+ console.info("Lancement du serveur web");
210
+ this.http.listen(this.config.port, () => {
211
+ console.info(`Web server ready on ${this.publicUrl}`);
212
+ });
215
213
 
216
214
  }
217
215
 
@@ -85,7 +85,6 @@ export type Config<
85
85
  > = {
86
86
 
87
87
  debug: boolean,
88
- serverless?: boolean,
89
88
 
90
89
  disk?: string, // Disk driver ID
91
90