modified: pages/podcast/[guid].tsx

deleted:    public/video/kmedia.mp4
	renamed:    "\321\201omponents/podcasts/Item.tsx" -> "\321\201omponents/podcasts/Item.ts"
master
joker 3 years ago
parent 0d3135865f
commit 3fc480c6ea
  1. 10
      pages/podcast/[guid].tsx
  2. BIN
      public/video/kmedia.mp4
  3. 0
      сomponents/podcasts/Item.ts

@ -4,10 +4,10 @@ export default function handler(
req: NextApiRequest,
res: NextApiResponse
) {
const getClientAddress = function (req) {
return (req.headers['x-forwarded-for'] || '').split(',')[0]
|| req.connection.remoteAddress;
};
console.log(getClientAddress);
// const getClientAddress = function (req) {
// return (req.headers['x-forwarded-for'] || '').split(',')[0]
// || req.connection.remoteAddress;
// };
// console.log(getClientAddress);
}

Binary file not shown.
Loading…
Cancel
Save