rsnext/examples/with-apivideo/next.config.js
Yohann MARTZOLFF 8ad018fb35
Example/with apivideo (#45272)
### Documentation / Examples
Hello Next.js 👋🏼

This PR aims to update the with-apivideo example by:
- Updating images domain name
- Switch to `export default function` for pages
- Updating the uploader playable and ingested status

### What do we use
In this example, we use several Next.js features:
- Routes and dynamic routes
- API and dynamic API routes

And api.video tools:
- NodeJS client
- React player (instead of our Player SDK)
- TypeScript uploader

Thank's in advance for your review 🙏🏼
2023-02-02 13:44:37 +00:00

12 lines
215 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: false,
compiler: {
styledComponents: true,
},
images: {
domains: ['vod.api.video'],
},
}
module.exports = nextConfig