add VyNovel (#1036)

* add VyNovel

* Update vynovel.ts

* fix
This commit is contained in:
Rider21
2024-07-12 17:53:00 +03:00
committed by GitHub
parent 25905e7ca0
commit bd6f6a7ed9
7 changed files with 195 additions and 10 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ class AuthorToday implements Plugin.PluginBase {
}
resolveUrl = (path: string, isNovel?: boolean) =>
isNovel ? this.site + '/work/' + path : this.site + '/reader/' + path;
this.site + (isNovel ? '/work/' : '/reader/') + path;
user: authorization | undefined;
getUser = async () => {