File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed
Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 11VITE_TOKEN_SERVER_URL = /api
2- VITE_CLIENT_ID = <your client id>
32VITE_LOCAL_SERVER_URL = https://your-ip:port/
4- VITE_API_URL = https://demo-api.incodesmile.com
3+ VITE_API_URL = https://demo-api.incodesmile.com/0
54VITE_SDK_URL = https://sdk.incode.com/sdk/onBoarding-1.69.1.js
Original file line number Diff line number Diff line change @@ -66,9 +66,8 @@ Run `npm install`
6666Copy ` .env.example ` to ` .env.local ` and add your local values
6767```
6868VITE_TOKEN_SERVER_URL=/api
69- VITE_CLIENT_ID=<client id>
7069VITE_LOCAL_SERVER_URL=https://your-ip:port/
71- VITE_API_URL=https://demo-api.incodesmile.com
70+ VITE_API_URL=https://demo-api.incodesmile.com/0
7271VITE_SDK_URL=https://sdk.incode.com/sdk/onBoarding-1.69.0.js
7372```
7473Remember the Flow holds the backend counter part of the process, some configurations there might affect the behavior of the WebSDK here.
Original file line number Diff line number Diff line change @@ -107,9 +107,7 @@ async function app() {
107107 try {
108108 // Create the instance of incode linked to a client
109109 const apiURL = import . meta. env . VITE_API_URL ;
110- const clientId = import . meta. env . VITE_CLIENT_ID ;
111110 incode = window . OnBoarding . create ( {
112- clientId : clientId ,
113111 apiURL : apiURL
114112 } ) ;
115113
You can’t perform that action at this time.
0 commit comments