We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d14b6f commit 18613f9Copy full SHA for 18613f9
src/api/index.js
@@ -2,7 +2,7 @@ import wxio from 'wxio'
2
3
const isDevtools = wx.getSystemInfoSync().platform === 'devtools'
4
5
-const HACKERNEWS_API_BASE_URL = isDevtools ? `https://cors.now.sh/https://hacker-news.firebaseio.com/v0/` : 'https://tina-hackernews.lab4310.com/hn/v0/'
+const HACKERNEWS_API_BASE_URL = isDevtools ? `https://cors-anywhere.herokuapp.com/https://hacker-news.firebaseio.com/v0/` : 'https://tina-hackernews.lab4310.com/hn/v0/'
6
const ARTICLE_API_BASE_URL = 'https://tina-hackernews.lab4310.com/readability/'
7
const CONFIG_API_URL = 'https://tina-hackernews.lab4310.com/config'
8
0 commit comments