diff --git a/examples/global-demo.html b/examples/global-demo.html
index 860ade3..c0b1936 100644
--- a/examples/global-demo.html
+++ b/examples/global-demo.html
@@ -20,7 +20,7 @@
env: { hdrPath: '/hdr/my.env', intensity: 1.2, rotationY: 0.3 },
};
- console.log(window.faceSDK, window.faceSDK && window.faceSDK.kernel);
+
const kernel = window.faceSDK && window.faceSDK.kernel;
if (!kernel) {
diff --git a/index.html b/index.html
index c5acf87..39a5825 100644
--- a/index.html
+++ b/index.html
@@ -44,8 +44,8 @@
const config = {
container: document.querySelector('#renderDom'),
- modelUrlList: ['/public/model/model.glb'],
- env: { envPath: '/public/hdr/hdr.env', intensity: 1.2, rotationY: 0.3 },
+ modelUrlList: ['https://sdk.zguiy.com/resurces/model/model.glb'],
+ env: { envPath: 'https://sdk.zguiy.com/resurces/hdr/hdr.env', intensity: 1.2, rotationY: 0.3 },
};
kernel.init(config);