soiz1 commited on
Commit
9b37ee6
·
verified ·
1 Parent(s): 049b41a

Update src/components/loader/tw-progress-monitor.js

Browse files
src/components/loader/tw-progress-monitor.js CHANGED
@@ -50,7 +50,8 @@ const setState = newState => {
50
 
51
  export const fetchWithProgress = url => {
52
  // プロキシURLを指定
53
- const proxyUrl = `https://public-soiz1-cors-proxy.hf.space/?url=` + encodeURIComponent(url); // ここで公開されているプロキシを使用
 
54
  // const proxyUrl = `https://cors-anywhere.herokuapp.com/` + encodeURIComponent(url); // こちらを使いたい場合
55
  // const proxyUrl = `https://cors-proxy.htmldriven.com/?url=` + encodeURIComponent(url); // 別のプロキシURL
56
  // const proxyUrl = `https://api.allorigins.win/raw?url=` + encodeURIComponent(url); // 別のプロキシURL
 
50
 
51
  export const fetchWithProgress = url => {
52
  // プロキシURLを指定
53
+ const proxyUrl = encodeURIComponent(url);
54
+ //const proxyUrl = `https://public-soiz1-cors-proxy.hf.space/?url=` + encodeURIComponent(url); // ここで公開されているプロキシを使用
55
  // const proxyUrl = `https://cors-anywhere.herokuapp.com/` + encodeURIComponent(url); // こちらを使いたい場合
56
  // const proxyUrl = `https://cors-proxy.htmldriven.com/?url=` + encodeURIComponent(url); // 別のプロキシURL
57
  // const proxyUrl = `https://api.allorigins.win/raw?url=` + encodeURIComponent(url); // 別のプロキシURL