diff --git a/.env.example b/.env.example index 1ccf926..27be8dc 100644 --- a/.env.example +++ b/.env.example @@ -14,4 +14,7 @@ NUXT_OPEN_WEATHER_LON= NUXT_OPEN_WEATHER_LANG= NUXT_OPEN_WEATHER_UNITS= -NUXT_HUB_PROJECT_KEY= \ No newline at end of file +NUXT_HUB_PROJECT_KEY= + +NUXT_PUBLIC_MAPBOX_STYLE= +NUXT_PUBLIC_MAPBOX_ACCESS_TOKEN= \ No newline at end of file diff --git a/server/api/weather.get.ts b/server/api/weather.get.ts index a55d63d..2dd8564 100644 --- a/server/api/weather.get.ts +++ b/server/api/weather.get.ts @@ -2,7 +2,6 @@ import type { OpenWeatherType } from '~~/types/types' export default defineCachedEventHandler(async (event) => { const config = useRuntimeConfig(event) - console.log(config.openWeather) const openWeather = await $fetch('https://api.openweathermap.org/data/2.5/weather', { params: { @@ -13,7 +12,6 @@ export default defineCachedEventHandler(async (event) => { units: config.openWeather.units, }, }) - console.log(openWeather) return { weather: openWeather.weather[0].description, city: openWeather.name, diff --git a/server/database/migrations/meta/0001_snapshot.json b/server/database/migrations/meta/0001_snapshot.json index c047c81..8b5f564 100644 --- a/server/database/migrations/meta/0001_snapshot.json +++ b/server/database/migrations/meta/0001_snapshot.json @@ -62,4 +62,4 @@ "internal": { "indexes": {} } -} \ No newline at end of file +} diff --git a/server/database/migrations/meta/_journal.json b/server/database/migrations/meta/_journal.json index aa18600..648b595 100644 --- a/server/database/migrations/meta/_journal.json +++ b/server/database/migrations/meta/_journal.json @@ -17,4 +17,4 @@ "breakpoints": true } ] -} \ No newline at end of file +}