Dear when using the local version (debug version) the plugin works fine
when building a release version we get an error

tho we installed an local certificate for ssl to run https since i thought it was a problem from the https
regards
Looks like your loading of the JSON is failing. Are you sure the path to the json files for your release version is correct?
dear friend,
we didn’t upload any json, just on debug mode it works fine on release it doesn’t work it has nothing to do with json could be a react version ? or a node version on release doing a problem ?
On Oct 17, 2018, at 10:14 PM, ScottDellinger <[email protected]notifications@github.com> wrote:
Looks like your loading of the JSON is failing. Are you sure the path to the json files for your release version is correct?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/justadudewhohacks/face-api.js/issues/104#issuecomment-430753834, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADn4GuPbMcrxRg8HEgKneK0EUw5GBpV4ks5ul4GzgaJpZM4Xj599.
Not sure what debug and release mode means for you, but this error message comes from the model loading function, meaning in your release setup the uri to your model files are different.
okay thank you so much tomorrow i will check it
i’m using react
when building a release version (the version to be publish on a server) it looks like it’s changing something in the path i will check it back tomorrow and get back to you
thank you once again
have a nice evening
On Oct 17, 2018, at 11:51 PM, justadudewhohacks <[email protected]notifications@github.com> wrote:
Not sure what debug and release mode means for you, but this error message comes from the model loading function, meaning in your release setup the uri to your model files are different.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/justadudewhohacks/face-api.js/issues/104#issuecomment-430784429, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADn4GlzQRh5GlMs4smuE9RQrDNVol1cgks5ul5g0gaJpZM4Xj599.
Alright, if in doubt, simply open the network tab in the dev tools of your browser and you should find out the uri of the request when loading the model.
thank you guys, yes on release version it's loading the path directly from localhost (react) not from the folder where the published website is
i will check the file and edit it it's better to use "./path" so we won't have the error
thank you again
Most helpful comment
Looks like your loading of the JSON is failing. Are you sure the path to the json files for your release version is correct?