Skip to content

Commit

Permalink
Revert last changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwijos committed Jan 11, 2024
1 parent b1a27c6 commit 4ab6096
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/routes/(protected)/admin/map/live/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import type { PageData } from './$types';
import type { Bike } from '$lib/types/Bike';
import { applyAction, enhance } from '$app/forms';
import { PUBLIC_REST_API_URL } from '$env/static/public';
export let data: PageData;
Expand Down Expand Up @@ -203,7 +202,7 @@
});
onMount(() => {
evtSource = new EventSource(`${PUBLIC_REST_API_URL}/admin/feed`, {
evtSource = new EventSource('http://localhost:1337/v1/admin/feed', {
withCredentials: true
});
Expand Down

0 comments on commit 4ab6096

Please sign in to comment.