Skip to content

Commit

Permalink
modified: components/Card.vue
Browse files Browse the repository at this point in the history
	modified:   nuxt.config.ts
	modified:   pnpm-lock.yaml
  • Loading branch information
eeslom committed Feb 10, 2024
1 parent d2bcea5 commit 51793ce
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
2 changes: 0 additions & 2 deletions components/Card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ const props = defineProps<{
item: any
}>()
const img = useImage()
const media = computed((): string => {
if (props.item.media_type)
return props.item.media_type
Expand Down
2 changes: 2 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ export default defineNuxtConfig({

runtimeConfig: {
API_URL: 'https://api.themoviedb.org/3',
// eslint-disable-next-line node/prefer-global/process
API_LANG: process.env.API_LANG || 'en-US',
// eslint-disable-next-line node/prefer-global/process
API_KEY: process.env.API_KEY || '',
},

Expand Down
26 changes: 16 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 51793ce

Please sign in to comment.