Skip to content

Commit

Permalink
feat: Load p5 from localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
ff6347 committed Nov 8, 2023
1 parent 3481b28 commit 33ae6e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Sandbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function Sandbox(props: SandboxProps) {
<html>
<head>
<link rel="stylesheet" href="/iframe.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js"></script>
<script src="${import.meta.env.PUBLIC_BASE_URL}/lib/p5.js"></script>
<style>
body {
font-family: "Inter", sans-serif;
Expand Down

0 comments on commit 33ae6e5

Please sign in to comment.