Update tutorials/distributed-calculator/node/app.js

Co-authored-by: Paul Yuknewicz <paulyuk@microsoft.com>
This commit is contained in:
AkhilaC 2022-06-05 18:43:23 +05:30 committed by GitHub
parent ec4d0a7ab8
commit cd282dc942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ const bodyParser = require('body-parser');
const app = express();
app.use(bodyParser.json());
const cors = require('cors');
const port = process.env.APP_PORT || 4000 ;
const port = process.env.APP_PORT ?? '4000';
app.use(cors());