feat: setup trailing slashes

This commit is contained in:
Oleg Proskurin 2025-12-15 23:32:01 +07:00
parent 9c4dd35782
commit f433f59e6b
3 changed files with 10 additions and 6 deletions

View File

@ -2,6 +2,7 @@ import type { NextConfig } from 'next';
const nextConfig: NextConfig = {
output: 'standalone',
trailingSlash: true,
images: {
unoptimized: true,
},

View File

@ -17,6 +17,9 @@ const caveat = Caveat({
display: 'swap',
});
export const metadata: Metadata = {
metadataBase: new URL('https://banatie.app'),
};
export default function RootLayout({
children,

View File

@ -34,16 +34,16 @@ export const metadata: Metadata = {
robots: 'index, follow',
alternates: {
canonical: 'https://banatie.app',
canonical: '/',
languages: {
en: 'https://banatie.app',
'x-default': 'https://banatie.app',
en: '/',
'x-default': '/',
},
},
openGraph: {
type: 'website',
url: 'https://banatie.app',
url: '/',
title: 'AI Image Generation Inside Your Workflow | Banatie',
description:
'Generate production-ready images via API, SDK, CLI, or Prompt URLs. Built-in CDN delivery, style references, and smart prompt enhancement. Built for developers.',
@ -51,7 +51,7 @@ export const metadata: Metadata = {
locale: 'en_US',
images: [
{
url: 'https://banatie.app/og-image.png',
url: '/og-image.png',
width: 1200,
height: 630,
alt: 'Banatie - AI Image Generation API for Developers',
@ -64,7 +64,7 @@ export const metadata: Metadata = {
title: 'AI Image Generation Inside Your Workflow | Banatie',
description:
'Generate production-ready images via API, SDK, CLI, or Prompt URLs. Built-in CDN delivery, style references, and smart prompt enhancement. Built for developers.',
images: ['https://banatie.app/og-image.png'],
images: ['/og-image.png'],
},
};