Add way to import from other sources
This commit is contained in:
@@ -229,4 +229,4 @@ export function copyProfile(profileToCopy: string, newName: string) {
|
||||
|
||||
export function changeProfile(profileId: string) {
|
||||
currentProfile.set(profileId)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
import { promptConfirmation, showSnackbar } from '$lib/util';
|
||||
import { P, Progressbar } from 'flowbite-svelte';
|
||||
import { onMount } from 'svelte';
|
||||
export const BASE_URL = 'https://www.mokuro.moe/manga';
|
||||
export const BASE_URL = $page.url.searchParams.get('source') || 'https://www.mokuro.moe/manga';
|
||||
|
||||
const manga = $page.url.searchParams.get('manga');
|
||||
const volume = $page.url.searchParams.get('volume');
|
||||
|
||||
Reference in New Issue
Block a user