What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-16 06:16:24
host angular app on node server
const express = require('express'); const http = require('http'); const path = require('path'); const app = express(); const port = process.env.PORT || 3001; app.use(express.static(__dirname + '/dist/my-app-name')); app.get('/*', (req, res) => res.... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5