fix: update webview url for Chikari (#2416)

This commit is contained in:
NovaKn1ght
2026-08-16 00:36:24 -05:00
committed by GitHub
parent c2c677b3b7
commit 4882170784
+2 -2
View File
@@ -9,7 +9,7 @@ class ChikariPlugin implements Plugin.PluginBase {
name = 'Chikari'; name = 'Chikari';
icon = 'src/en/chikari/icon.png'; icon = 'src/en/chikari/icon.png';
site = 'https://chikari.moe'; site = 'https://chikari.moe';
version = '1.0.0'; version = '1.0.1';
imageRequestInit?: Plugin.ImageRequestInit | undefined = undefined; imageRequestInit?: Plugin.ImageRequestInit | undefined = undefined;
// Define the filters for the app's filter menu // Define the filters for the app's filter menu
@@ -234,7 +234,7 @@ async popularNovels(
} }
resolveUrl = (path: string, isNovel?: boolean) => { resolveUrl = (path: string, isNovel?: boolean) => {
if (isNovel) return `${this.site}/novel/${path}`; if (isNovel) return `${this.site}/novels/${path}`;
return `${this.site}/${path}`; return `${this.site}/${path}`;
}; };
} }