Files
breakpilot-lehrer/admin-lehrer/next.config.js
Benjamin Boenisch 5a31f52310 Initial commit: breakpilot-lehrer - Lehrer KI Platform
Services: Admin-Lehrer, Backend-Lehrer, Studio v2, Website,
Klausur-Service, School-Service, Voice-Service, Geo-Service,
BreakPilot Drive, Agent-Core

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 23:47:26 +01:00

34 lines
783 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
reactStrictMode: true,
// TODO: Remove after fixing type incompatibilities from restore
typescript: {
ignoreBuildErrors: true,
},
// Allow images from backend
images: {
remotePatterns: [
{
protocol: 'http',
hostname: 'localhost',
},
{
protocol: 'http',
hostname: 'macmini',
},
{
protocol: 'https',
hostname: 'macmini',
},
],
},
// Environment variables
env: {
NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL || 'https://macmini:8001',
NEXT_PUBLIC_OLD_ADMIN_URL: process.env.NEXT_PUBLIC_OLD_ADMIN_URL || 'http://localhost:3000/admin',
},
}
module.exports = nextConfig