Commit c38eb073 authored by 朱国瑞's avatar 朱国瑞

eu 配置

parent 5991cf97
...@@ -907,23 +907,23 @@ export default { ...@@ -907,23 +907,23 @@ export default {
console.log(import.meta.env); console.log(import.meta.env);
if (camera) { if (camera) {
let apiKey = "DLAB-customername-12345687"; let apiKey = "DLab-BFAR-Coach-000001";
let env = import.meta.env.VITE_TRACKING_ENV; let env = import.meta.env.VITE_TRACKING_ENV;
console.log(env); console.log(env);
let aiParams = { let aiParams = {
env: env, env: env,
apiKey: apiKey, apiKey: apiKey,
region: "apac" region: "eu"
}; };
localStorage.setItem("aiParams", JSON.stringify(aiParams)); localStorage.setItem("aiParams", JSON.stringify(aiParams));
let openDev = this.$route.query.openDev; let openDev = this.$route.query.openDev;
localStorage.setItem( localStorage.setItem(
"completeUrl", "completeUrl",
"https://bfai-service-apac-uat.d-lab-services.danone.com/demo/#/complete" "https://bfai-service-eu.d-lab-services.danone.com/demo/#/complete"
); );
localStorage.setItem("incompleteUrl", "https://bfai-service-apac-uat.d-lab-services.danone.com/demo/#/"); localStorage.setItem("incompleteUrl", "https://bfai-service-eu.d-lab-services.danone.com/demo/#/");
let url = let url =
"https://bfai-service-apac-uat.d-lab-services.danone.com/sdk/#/?lying=" + "https://bfai-service-eu.d-lab-services.danone.com/sdk/#/?lying=" +
this.lying; this.lying;
if (openDev) { if (openDev) {
url = url + "&openDev=true"; url = url + "&openDev=true";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment