Skip to content

Issue with moving to real prod enviornment #14

Open
@deepakjan

Description

@deepakjan

Hi All,
I am new to server side rendering concept.
After the npm run start the dist folder is created and the localhost:4000 is running but after coping the code from dist folder and keeping in the apache web server and after running the server I am getting the page but the source code is saying 404 error which is weird. should I install node.js in my prod server and run my code there as well, if so what changes to the server.ts file should i make. i thought its pre compiled code and only a static web server to run the dist folder files should be fine. Please help me on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions