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}`);