Merge pull request #41 from AnonMiraj/main
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) {
|
export function changeProfile(profileId: string) {
|
||||||
currentProfile.set(profileId)
|
currentProfile.set(profileId)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
import { promptConfirmation, showSnackbar } from '$lib/util';
|
import { promptConfirmation, showSnackbar } from '$lib/util';
|
||||||
import { P, Progressbar } from 'flowbite-svelte';
|
import { P, Progressbar } from 'flowbite-svelte';
|
||||||
import { onMount } from '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 manga = $page.url.searchParams.get('manga');
|
||||||
const volume = $page.url.searchParams.get('volume');
|
const volume = $page.url.searchParams.get('volume');
|
||||||
|
|||||||
Reference in New Issue
Block a user