Home
Home
Home
Deploy react app in node server
Deploy react app in node server
Vijay
08:01
const express = require('express'); const path = require('path'); const app = express(); app.use(express.static(path.join(__dirname, 'build'))); app.get('/*', function (req, res) { res.sendFile(path.join(__dirname, 'build', 'index.html')); }); app.listen(9000);
Post a Comment
0 Comments
Social Plugin
Popular Posts
Read local json file in codeigniter
Updating a row 's column with its incremented value
how to create base_url in codeigniter
Facebook
Total Pageviews
3
1
6
3
3
0 Comments