@webtypen/webframez-core 0.0.13 → 0.0.14

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.
@@ -11,7 +11,9 @@ class WebApplication {
11
11
  * Init the routes and start the http-server
12
12
  */
13
13
  boot(options) {
14
- Router_1.Router.init();
14
+ Router_1.Router.init({
15
+ basename: options && options.basename ? options.basename : null,
16
+ });
15
17
  const port = options && options.port ? options.port : 3000;
16
18
  this.server = http_1.default
17
19
  .createServer((req, res) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webtypen/webframez-core",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "The core package of the typescript based webframez (web-framework) by webtypen.de",
5
5
  "homepage": "https://webtypen.de/",
6
6
  "license": "MIT",
@@ -8,7 +8,9 @@ export class WebApplication {
8
8
  * Init the routes and start the http-server
9
9
  */
10
10
  boot(options?: any) {
11
- Router.init();
11
+ Router.init({
12
+ basename: options && options.basename ? options.basename : null,
13
+ });
12
14
 
13
15
  const port = options && options.port ? options.port : 3000;
14
16
  this.server = http