Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AriaNg's RPC config lost after clear browser history #4

Closed
mercurylmy opened this issue Nov 16, 2017 · 3 comments
Closed

AriaNg's RPC config lost after clear browser history #4

mercurylmy opened this issue Nov 16, 2017 · 3 comments

Comments

@mercurylmy
Copy link

清除历史后 AriaNg 的 RPC 配置会消失,附加组件的选项面板里的配置仍在。希望能在打开 AriaNg 时,自动恢复配置。

@RossWang
Copy link
Owner

這是AriaNg的原始行為,他把配置存在Offline Storage
https://github.com/mayswind/AriaNg

我不太會前端,如果要改的話可能會花點時間,目前我傾向不去動他,先完善我的擴展
這樣未來原作者的更新也好套用

@mercurylmy
Copy link
Author

/data/action/index.js
38 行
url: "../../data/ariang/index.html"
改成
url: "../../data/ariang/index.html#!/settings/rpc/set/" + protocol + "/" + host + "/" + port + "/" + interf + "/" + btoa(token);
类似的行吗

@RossWang
Copy link
Owner

有道理

不過因為有人可能要不同的設定,我會再做一個設定選項之後再發佈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants