Skip to content

CORS Error, Port number did not reflected when change in build script #389

Description

@codenamewei

Describe the bug
Port number in front end did not change when changed it in the build script

To Reproduce

  1. Download Classifai Repo
  2. Run
Unix: ./startClassifai.sh --port=12222
Windows: startClassifai.bat --port=12222
  1. In web browser, use inspect to see the URL endpoints called
    It can be seen that the url still maps back to 9999

Screenshot 2021-05-29 at 6 23 24 PM

Expected behavior
Port of endpoints changed accordingly with build script when port number is specifically written.

Desktop (please complete the following information):
Tested on Mac.

@amalsyahmi-certifai can you check if you are seeing the same scenario im facing,
as of assignee to solve the bug, you can decide who to work on it

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmedium priorityneed to fix, it block some features function

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions