mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-29 04:45:19 +08:00
Deploy to Heroku using Docker
This commit is contained in:
@@ -76,6 +76,7 @@ const app = express();
|
||||
app.get('/', AppHandler);
|
||||
app.use(express.static(join(__dirname, '../public')));
|
||||
app.get('*', AppHandler);
|
||||
app.listen(3000, () => {
|
||||
console.log('Started on 3000!');
|
||||
const PORT = process.env.PORT || 3000;
|
||||
app.listen(PORT, () => {
|
||||
console.log(`Started on ${PORT}!`);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user