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