♻️ 书源 id 去掉 ext. 前缀,沿用旧内置源数据
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
1 parent
6379a117c2
commit
0174664163
15 files changed
+47
-47
No files matched your search
@@ -92,7 +92,7 @@ package.loaded["http.request"] = {
|
||||
}
|
||||
package.loaded["moonsource_zhihu.client"] = nil
|
||||
local Client = require("moonsource_zhihu.client")
|
||||
local cfg = Settings.getSource("ext.zhihu")
|
||||
local cfg = Settings.getSource("zhihu")
|
||||
local original_cookie = cfg.cookie
|
||||
cfg.cookie = nil
|
||||
|
||||
@@ -242,4 +242,4 @@ Assert.is_nil(warnings[#warnings]:find("private-token", 1, true))
|
||||
|
||||
Log.warn = original_warn
|
||||
cfg.cookie = original_cookie
|
||||
Settings.saveSource("ext.zhihu")
|
||||
Settings.saveSource("zhihu")
|
||||
Reference in new issue
Block a user