Remove logs

This commit is contained in:
2024-08-22 23:38:20 +02:00
parent 3d1d55b95f
commit a5120d006a
4 changed files with 6 additions and 5 deletions

View File

@@ -14,4 +14,7 @@ NUXT_OPEN_WEATHER_LON=
NUXT_OPEN_WEATHER_LANG=
NUXT_OPEN_WEATHER_UNITS=
NUXT_HUB_PROJECT_KEY=
NUXT_HUB_PROJECT_KEY=
NUXT_PUBLIC_MAPBOX_STYLE=
NUXT_PUBLIC_MAPBOX_ACCESS_TOKEN=

View File

@@ -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<OpenWeatherType>('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,

View File

@@ -62,4 +62,4 @@
"internal": {
"indexes": {}
}
}
}

View File

@@ -17,4 +17,4 @@
"breakpoints": true
}
]
}
}