refactor!: setup file proxy for projects
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
import { Maximize, Minimize, ArrowLeft } from '@lucide/svelte';
|
||||
|
||||
const id = $derived(page.params.id);
|
||||
const src = $derived(`/projects/${id}/index.html`);
|
||||
const src = $derived(`/api/v0/repos/${id}/files/index.html`);
|
||||
|
||||
let isFullscreen = $state(false);
|
||||
let containerRef = $state<HTMLDivElement | null>(null);
|
||||
|
||||
Reference in New Issue
Block a user