From ae91d82a78d98a33b5cecb14526f094d2529ebc0 Mon Sep 17 00:00:00 2001 From: Joseph Izang Date: Wed, 15 Nov 2023 14:58:53 +0300 Subject: [PATCH] fix urls --- apps/vyper/src/app/app.tsx | 5 ++--- apps/vyper/src/app/utils/compiler.tsx | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/apps/vyper/src/app/app.tsx b/apps/vyper/src/app/app.tsx index aad3dd429f..7d09e10d9d 100644 --- a/apps/vyper/src/app/app.tsx +++ b/apps/vyper/src/app/app.tsx @@ -32,7 +32,7 @@ const App: React.FC = () => { const [state, setState] = useState({ status: 'idle', environment: 'local', - localUrl: 'http://localhost:8000' + localUrl: 'http://localhost:8000/' }) const [compilerResponse, setCompilerResponse] = useState({}) @@ -101,8 +101,7 @@ const App: React.FC = () => { />
- {/* */} - +
diff --git a/apps/vyper/src/app/utils/compiler.tsx b/apps/vyper/src/app/utils/compiler.tsx index fdfdd1b34f..47d6b7e544 100644 --- a/apps/vyper/src/app/utils/compiler.tsx +++ b/apps/vyper/src/app/utils/compiler.tsx @@ -78,17 +78,17 @@ export async function compile(url: string, contract: Contract): Promise