~thecashewtrader/frensviewer

2c0867c8bacc1c2cf3ef66a4157ddf8fce23cfe3 — thecashewtrader 1 year, 7 months ago 2b2ea46
Fix http:// as a typo
1 files changed, 2 insertions(+), 2 deletions(-)

M src/routes/mutual/+page.svelte
M src/routes/mutual/+page.svelte => src/routes/mutual/+page.svelte +2 -2
@@ 18,14 18,14 @@

	const getMutualFriends = async () => {
		mutualFriends = [];
		const url = new URL('/api/mutualFriends', `http://${$page.url.host}`);
		const url = new URL('/api/mutualFriends', `https://${$page.url.host}`);
		url.searchParams.append('q', (websites || []).join(','));
		const res = await fetch(url);
		mutualFriends = await res.json();
	};
	const getMutualFriendsWithMetadata = async () => {
		const initialURL = $page.url.toString();
		const url = new URL('/api/mutualFriendsWithMetadata', `http://${$page.url.host}`);
		const url = new URL('/api/mutualFriendsWithMetadata', `https://${$page.url.host}`);
		url.searchParams.append('q', (websites || []).join(','));
		const res = await fetch(url);
		const possibleMutualFriends = await res.json();