Bump version to 3.0.10, remove host configuration, and update server log message
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"Server": {
|
"Server": {
|
||||||
"Host": "localhost",
|
|
||||||
"Port": 3005
|
"Port": 3005
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "angular-portfolio-seite",
|
"name": "angular-portfolio-seite",
|
||||||
"version": "3.0.6",
|
"version": "3.0.10",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "ng serve",
|
"dev": "ng serve",
|
||||||
"test": "ng test",
|
"test": "ng test",
|
||||||
|
|||||||
+2
-3
@@ -38,10 +38,9 @@ app.get('**', (req: Request, res: Response, next: NextFunction): void => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (isMainModule(import.meta.url)) {
|
if (isMainModule(import.meta.url)) {
|
||||||
const host: string = ProductionConfig.Server.Host;
|
|
||||||
const port: number = ProductionConfig.Server.Port;
|
const port: number = ProductionConfig.Server.Port;
|
||||||
app.listen(port, host, (): void => {
|
app.listen(port, (): void => {
|
||||||
console.log(`✔️ Listening on http://${host}:${port}`);
|
console.log(`✔️ Listening on Port ${port}`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user