登录页去掉订阅口令:订阅接口认后台会话 + editor-api 反代
- Worker 侧 requireAuth 新增两条通道:① Authorization 管理员会话(CF 版后台 登录后订阅模块免口令);② X-Editor-Token 共享令牌(服务端到服务端)。 原 ?token=/Cookie 通道保留,RSS 阅读器与友圈页不受影响 - editor-api 新增订阅反代(/api/feeds|links|link-apply):国内机后台的 订阅源/友链由本机带共享令牌去 CF 取,前端不再持有任何口令;GET 幂等重试 抗跨境抖动 - 登录页只留账号+密码(CF 版与国内机版统一);国内机后台侧栏新增订阅中心 入口;RSS_TOKEN / LS_RSS 前端残留全部清理
This commit is contained in:
1 parent
a11631faa6
commit
18a4882577
4 files changed
+114
-51
No files matched your search
@@ -52,14 +52,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field" id="lgRssField">
|
||||
<label class="lbl" for="lgRss">订阅口令 <span class="lg-opt">可选</span></label>
|
||||
<div class="lg-input">
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="8.2" cy="15.4" r="3.2"/><path d="M10.6 12.9 19.2 4.4"/><path d="M16.4 7.2l2.4 2.4"/><path d="M14 9.6l2.4 2.4"/></svg>
|
||||
<input id="lgRss" type="password" placeholder="管理订阅 / 友链用,留空则跳过" autocomplete="off">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button class="btn primary block lg-submit" type="submit" id="lgBtn">登 录</button>
|
||||
</form>
|
||||
|
||||
|
||||
Reference in new issue
Block a user