test commit
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
"version": "1.0.0",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "node dist/index.js",
|
||||
"start": "pm2 start dist/index.js --name 'matrix-backend'",
|
||||
"start-local": "tsc && cross-env NODE_ENV=development node dist/index.js",
|
||||
"clean": "rimraf dist",
|
||||
"build": "npm run clean & tsc",
|
||||
|
||||
@@ -9,6 +9,7 @@ import {SpotifyTokenGenerator} from "./rest/spotifyTokenGenerator";
|
||||
|
||||
const app = express();
|
||||
const port = process.env.PORT || 3000;
|
||||
console.log("server startet");
|
||||
const server = app.listen(port, () => {
|
||||
console.log(`Server is running on port ${port}`);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user