Skip to content

Commit 8f929d3

Browse files
Dev (#15)
* test * test 2 * test 3 * Fix video title not updating when video changes * Add Dev Enviroment dectection * Add Included video * Add Dynamic import ApiKey * Fix error when channel only has one video * Fix error when index is out of range * Add channel generator * Changes validateIndex parameter * Add API KEY to .env * Add api key changes * Add mobile Responsive * add favicon * Add UTC * add start from sync time second * Change env var to work con nextjs client side --------- Co-authored-by: jalvis1491 <jalvis1491@gmail.com>
1 parent 6c29b2c commit 8f929d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/apis/youtube-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use server'
22
async function getApiKey() {
3-
const key = process.env.YOUTUBE_API? process.env.YOUTUBE_API: "";
3+
const key = process.env.NEXT_PUBLIC_YOUTUBE_API? process.env.NEXT_PUBLIC_YOUTUBE_API: "";
44
return key;
55
}
66

0 commit comments

Comments
 (0)