21 lines
398 B
TypeScript
21 lines
398 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const { hostname: supabaseHostname } = new URL(
|
|
process.env.NEXT_PUBLIC_SUPABASE_URL!,
|
|
)
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: "standalone",
|
|
basePath: process.env.BASE_PATH,
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
hostname: supabaseHostname,
|
|
pathname: '/storage/v1/object/**',
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|