Skip to content

Commit

Permalink
fix(cli): fix missing comma in server.hbs
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Mar 20, 2023
1 parent f0a00a2 commit aaec9f0
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ import {InteractionsController} from \\"./controllers/oidc/InteractionsControlle
acceptMimes: [\\"application/json\\"],
httpPort: process.env.PORT || 8083,
httpsPort: false, // CHANGE
disableComponentsScan: true
disableComponentsScan: true,
mount: {
\\"/rest\\": [
...Object.values(rest)
Expand Down Expand Up @@ -186,7 +186,7 @@ import {InteractionsController} from \\"./controllers/oidc/InteractionsControlle
acceptMimes: [\\"application/json\\"],
httpPort: process.env.PORT || 8083,
httpsPort: false, // CHANGE
disableComponentsScan: true
disableComponentsScan: true,
mount: {
\\"/rest\\": [
...Object.values(rest)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import * as rest from \\"./controllers/rest/index\\";
acceptMimes: [\\"application/json\\"],
httpPort: process.env.PORT || 8083,
httpsPort: false, // CHANGE
disableComponentsScan: true
disableComponentsScan: true,
mount: {
\\"/rest\\": [
...Object.values(rest)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import * as rest from \\"./controllers/rest/index\\";
acceptMimes: [\\"application/json\\"],
httpPort: process.env.PORT || 8083,
httpsPort: false, // CHANGE
disableComponentsScan: true
disableComponentsScan: true,
mount: {
\\"/rest\\": [
...Object.values(rest)
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/templates/generate/server.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {PlatformApplication} from "@tsed/common";
acceptMimes: ["application/json"],
httpPort: process.env.PORT || 8083,
httpsPort: false, // CHANGE
disableComponentsScan: true
disableComponentsScan: true,
mount: {
"{{route}}": [
...Object.values(rest)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import * as pages from \\"./controllers/pages/index\\";
acceptMimes: [\\"application/json\\"],
httpPort: process.env.PORT || 8083,
httpsPort: false, // CHANGE
disableComponentsScan: true
disableComponentsScan: true,
mount: {
\\"/rest\\": [
...Object.values(rest)
Expand Down Expand Up @@ -73,7 +73,7 @@ import * as rest from \\"./controllers/rest/index\\";
acceptMimes: [\\"application/json\\"],
httpPort: process.env.PORT || 8083,
httpsPort: false, // CHANGE
disableComponentsScan: true
disableComponentsScan: true,
mount: {
\\"/rest\\": [
...Object.values(rest)
Expand Down Expand Up @@ -123,7 +123,7 @@ import * as pages from \\"./controllers/pages/index\\";
acceptMimes: [\\"application/json\\"],
httpPort: process.env.PORT || 8083,
httpsPort: false, // CHANGE
disableComponentsScan: true
disableComponentsScan: true,
mount: {
\\"/rest\\": [
...Object.values(rest)
Expand Down Expand Up @@ -180,7 +180,7 @@ import * as rest from \\"./controllers/rest/index\\";
acceptMimes: [\\"application/json\\"],
httpPort: process.env.PORT || 8083,
httpsPort: false, // CHANGE
disableComponentsScan: true
disableComponentsScan: true,
mount: {
\\"/rest\\": [
...Object.values(rest)
Expand Down Expand Up @@ -228,7 +228,7 @@ import * as rest from \\"./controllers/rest/index\\";
acceptMimes: [\\"application/json\\"],
httpPort: process.env.PORT || 8083,
httpsPort: false, // CHANGE
disableComponentsScan: true
disableComponentsScan: true,
mount: {
\\"/rest\\": [
...Object.values(rest)
Expand Down

0 comments on commit aaec9f0

Please sign in to comment.