Skip to content

Commit

Permalink
🚧 add youtube api endpoitns
Browse files Browse the repository at this point in the history
  • Loading branch information
jerembdn committed Jul 11, 2024
1 parent 8cb9602 commit f1dc590
Show file tree
Hide file tree
Showing 12 changed files with 337 additions and 10 deletions.
2 changes: 2 additions & 0 deletions env.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ export const env = createEnv({
YOUTUBE_API_KEY: process.env.YOUTUBE_API_KEY || "",
NEXT_PUBLIC_GA_MEASUREMENT_ID: process.env.NEXT_PUBLIC_GA_MEASUREMENT_ID || "",
},
skipValidation: !!process.env.CI,
emptyStringAsUndefined: true,
});
4 changes: 2 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/** @type {import('next').NextConfig} */

import("./env.mjs");

const { hostname } = require('node:os');
const path = require("node:path");

import("./env.mjs");

const securityHeaders = [
{
key: "X-DNS-Prefetch-Control",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"start": "next start"
},
"dependencies": {
"@googleapis/youtube": "^16.1.0",
"@qotum/panda-preset": "^1.0.0",
"@t3-oss/env-nextjs": "^0.9.2",
"@tonightpass/requester": "^2.0.12",
Expand Down
Loading

0 comments on commit f1dc590

Please sign in to comment.