You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/01/24 06:45:25 UTC
[echarts-examples] branch gh-pages updated: fix cors issue
This is an automated email from the ASF dual-hosted git repository.
shenyi pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git
The following commit(s) were added to refs/heads/gh-pages by this push:
new d2b662b fix cors issue
d2b662b is described below
commit d2b662bcb55aa0389684ba1f6156f62a599337cc
Author: pissang <bm...@gmail.com>
AuthorDate: Sun Jan 24 14:44:40 2021 +0800
fix cors issue
---
public/data-gl/surface-leather.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/public/data-gl/surface-leather.js b/public/data-gl/surface-leather.js
index 83c6801..10b0a68 100644
--- a/public/data-gl/surface-leather.js
+++ b/public/data-gl/surface-leather.js
@@ -8,6 +8,7 @@ var TILING = [4, 2];
var heightImg = new Image();
heightImg.onload = update;
+heightImg.crossOrigin = 'anonymous';
heightImg.src = ROOT_PATH + '/data-gl/asset/leather/leather_height.jpg';
function update() {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org