Skip to content

Latest commit

 

History

History
executable file
·
12 lines (10 loc) · 360 Bytes

README.md

File metadata and controls

executable file
·
12 lines (10 loc) · 360 Bytes

mean-first-app

For integrated build:

  • build angular app (ng build --prod)
  • copy dist files to backend/angular
  • add config to serve the files to app.js
    • app.use("/", express.static(path.join(__dirname, "angular")));
    • app.use((req, res, next) => { res.sendFile(path.join(__dirname, "angular", "index.html")); });
    • comment CORS headers