From 329146f3c1e5e82bf83b788ace6660f39fb927d8 Mon Sep 17 00:00:00 2001 From: Robin Millette Date: Mon, 28 Feb 2022 17:04:03 -0500 Subject: [PATCH] Fix typo (#2674) --- examples/ssr/src/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ssr/src/api.ts b/examples/ssr/src/api.ts index 0ae8648c8..59619ade6 100644 --- a/examples/ssr/src/api.ts +++ b/examples/ssr/src/api.ts @@ -7,7 +7,7 @@ interface Product { //let origin: string; const { mode } = import.meta.env; -const origin = mode === 'develeopment' ? `http://localhost:3000` : `http://localhost:8085`; +const origin = mode === 'develepment' ? `http://localhost:3000` : `http://localhost:8085`; async function get(endpoint: string, cb: (response: Response) => Promise): Promise { const response = await fetch(`${origin}${endpoint}`);