webviewer-react-sample icon indicating copy to clipboard operation
webviewer-react-sample copied to clipboard

Sample does not work when npm run build && serve -s build

Open AdrianPasik opened this issue 3 years ago • 1 comments

Do I need to change some paths in order to make it work after build ?

AdrianPasik avatar Jun 23 '22 06:06 AdrianPasik

in the public folder create a file called serve.json and add the following code.Then build the project.

{
  "cleanUrls": false
}

This will sort the issue.

mithelan avatar Jan 31 '23 17:01 mithelan