Skip to content

Commit ed8195e

Browse files
authored
Fix CORS proxy
1 parent a9b391d commit ed8195e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

htmlpreview.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,9 @@
8888

8989
var fetchProxy = function (url, options, i) {
9090
var proxy = [
91+
'https://cors-anywhere.herokuapp.com/',
9192
'https://yacdn.org/serve/',
92-
'https://cors-anywhere.herokuapp.com/'
93+
'https://api.codetabs.com/v1/proxy/?quest='
9394
];
9495
return fetch(proxy[i] + url, options).then(function (res) {
9596
return res.text();

0 commit comments

Comments
 (0)