Skip to content

How to call react express api on production #63

@shinnachot

Description

@shinnachot

From this react-web-express-api-development-production article
when i want to call api on server side in localhost i call "localhost:3001/api/hello"
but how to call this api on production if i deploy real production like "test.com" and i try to call api like this "test.com/api/hello" it's not working they show display webpage by default

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions