Commit graph

22 commits

Author SHA1 Message Date
是虹川肉
da8afc12cf
Update request.js 2024-03-05 19:00:27 +08:00
Holger
65f5df8a60
fix(request): cross domain api issue (#2026)
Fix the issue when NCMapi is not under the same domain
as the one frontend uses. The original method using
Vercel to proxy requests may cause latency under
some circumstances.
2023-04-08 23:13:28 +08:00
amphineko
16b525915e
feat(utils/request): override realIP param with env var (#1514) 2022-04-12 00:08:44 +08:00
pan93412
5ff8868d3e
fix(utils/request): token 過期 (301) 時重新導向至登入頁面 (#1448) 2022-03-27 15:16:55 +08:00
qier222
eb94aae801
fix: 扫码登录问题 2021-09-25 15:16:34 +08:00
qier222
060569ee92
fix: bugs 2021-09-25 12:52:15 +08:00
qier222
5b6619d1de
fix: proxy issue 2021-05-17 19:20:37 +08:00
qier222
2c8ba10e20
fix: bugs 2021-04-26 15:38:39 +08:00
qier222
5355caa4e4
fix: bugs 2021-04-25 14:24:04 +08:00
qier222
fd16d470bd
fix: bugs 2021-03-24 22:28:24 +08:00
qier222
ee77b34ee9
fix: bugs 2021-03-06 21:45:33 +08:00
qier222
e169ee19e2
fix: CORS 2021-03-06 17:08:16 +08:00
qier222
94f7d7b928 fix: login issue 2021-01-29 10:42:38 +08:00
qier222
efdbee4b89 fix: bugs 2020-12-17 19:03:10 +08:00
kunkka
a9e153cfd6 lint: prettier lint 2020-10-30 10:59:26 +08:00
kunkka
9db57acb71 feat: electron tray & menu & touchbar supported 2020-10-29 18:46:54 +08:00
kunkka
68637ccab6 feat: prettier task supported 2020-10-22 19:17:20 +08:00
qier222
aadb1be17a 使用.env代替config.js 2020-10-20 19:19:14 +08:00
pan93412
bce09351cd
Make configuring baseURL easier and make the errors friendly (#9)
* feat(utils/request): make configuring baseURL easier

* docs(config/request): update the corresponding changes

5bc29f9200327de1d8aa23ab383bbd7f115db7ee

* feat(utils/request): make the errors friendly

I replaced the ugly if-statement with Map, and
I also make the message user-friendly
since this project is written for users, not only for developers.

And also, I removed the useless "alert", it is useless and annoying for users.
2020-10-18 11:42:12 +08:00
kunkka
19193bbc7d fix: typo and remove code 2020-10-17 21:09:38 +08:00
qier222
5f0ef06786 支持登录网易云账号 2020-10-17 00:13:20 +08:00
qier222
e4ba16b9a2 first commit 2020-10-10 19:54:44 +08:00