diff --git a/.env.development b/.env.development index 8540680..9cfdb72 100644 --- a/.env.development +++ b/.env.development @@ -1 +1 @@ -VITE_API_URL=https://localhost:7091 \ No newline at end of file +VITE_API_URL=https://localhost:7125 \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index be34faf..8d9f3ca 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -48,7 +48,7 @@ function App() { async function populateWeatherData() { const response = await fetch( - `${import.meta.env.VITE_API_URL}/weatherforecast` + `${import.meta.env.VITE_API_URL}/WeatherForecast` ) if (response.ok) { const data = await response.json(); diff --git a/vite.config.ts b/vite.config.ts index 70b61cd..f1a6607 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -33,6 +33,6 @@ export default defineConfig({ cert: fs.readFileSync(certFilePath), }, - port: 5173 + port: 5176 } }) \ No newline at end of file