mirror of https://github.com/dapr/quickstarts.git
Update tutorials/distributed-calculator/node/app.js
Co-authored-by: Paul Yuknewicz <paulyuk@microsoft.com>
This commit is contained in:
parent
ec4d0a7ab8
commit
cd282dc942
|
|
@ -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());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue