print the version
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 23s
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 23s
This commit is contained in:
parent
605541d2d0
commit
0c9db58903
9
.vscode/launch.json
vendored
9
.vscode/launch.json
vendored
@ -12,12 +12,13 @@
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"type": "pwa-node",
|
||||
"runtimeExecutable": "node",
|
||||
"env": {
|
||||
"DBHOST": "vps.k-world.me.uk",
|
||||
"DBUSER": "root",
|
||||
"DBPASS": "Grd555269",
|
||||
"DATABASE": "BBLB_DNS",
|
||||
"DBPORT": "3306",
|
||||
"DBPORT": "5405",
|
||||
"TORSSRV": "localhost",
|
||||
"TORSPWD": "KarlMax",
|
||||
}
|
||||
@ -29,13 +30,14 @@
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"runtimeExecutable": "/home/karl/.nvm/versions/node/v20.19.3/bin/node",
|
||||
"program": "${workspaceFolder}/bin/www",
|
||||
"env": {
|
||||
"DBHOST": "vps.k-world.me.uk",
|
||||
"DBUSER": "root",
|
||||
"DBPASS": "Grd555269",
|
||||
"DATABASE": "BBLB_DNS",
|
||||
"DBPORT": "3306",
|
||||
"DBPORT": "5405",
|
||||
"TORSSRV": "localhost",
|
||||
"TORSPWD": "KarlMax",
|
||||
}
|
||||
@ -44,6 +46,7 @@
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Checker",
|
||||
"runtimeExecutable": "/home/karl/.nvm/versions/node/v20.19.3/bin/node",
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
],
|
||||
@ -53,7 +56,7 @@
|
||||
"DBUSER": "root",
|
||||
"DBPASS": "Grd555269",
|
||||
"DATABASE": "BBLB_DNS",
|
||||
"DBPORT": "3306",
|
||||
"DBPORT": "5405",
|
||||
"TORSSRV": "localhost",
|
||||
"TORSPWD": "KarlMax",
|
||||
}
|
||||
|
2
bin/www
2
bin/www
@ -9,6 +9,7 @@ require('dotenv').config()
|
||||
var app = require('../app');
|
||||
var debug = require('debug')('react-backend:server');
|
||||
var http = require('http');
|
||||
const pjson = require('../package.json');
|
||||
|
||||
/**
|
||||
* Get port from environment and store in Express.
|
||||
@ -89,4 +90,5 @@ function onListening() {
|
||||
? 'pipe ' + addr
|
||||
: 'port ' + addr.port;
|
||||
debug('Listening on ' + bind);
|
||||
console.log(`Version: ${pjson.version}`);
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-backend",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"start": "node ./bin/www"
|
||||
|
Loading…
x
Reference in New Issue
Block a user