try fix styles
Some checks failed
Build and Publish 'anix-api-prox' to Docker Hub / publish (push) Has been cancelled
Build and Publish 'anix' to Docker Hub / publish (push) Has been cancelled

This commit is contained in:
Kentai Radiquum 2025-08-28 22:46:15 +05:00
parent 7e99062c0c
commit a4ecc27874
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
5 changed files with 6 additions and 8 deletions

84
next.config.mjs Normal file
View file

@ -0,0 +1,84 @@
import withFlowbiteReact from "flowbite-react/plugin/nextjs";
/** @type {import('next').NextConfig} */
const NextConfig = {
output: "standalone",
reactStrictMode: false,
images: {
unoptimized: true,
},
env: {
NEXT_PUBLIC_KODIK_PARSER_URL: process.env.NEXT_PUBLIC_KODIK_PARSER_URL,
NEXT_PUBLIC_ANILIBRIA_PARSER_URL: process.env.NEXT_PUBLIC_ANILIBRIA_PARSER_URL,
NEXT_PUBLIC_SIBNET_PARSER_URL: process.env.NEXT_PUBLIC_SIBNET_PARSER_URL,
},
async headers() {
return [
{
source: "/bookmarks/:slug*",
headers: [
{
key: "Cache-Control",
value: "s-maxage=2592000, stale-while-revalidate=86400",
},
],
},
{
source: "/collection/:slug*",
headers: [
{
key: "Cache-Control",
value: "s-maxage=2592000, stale-while-revalidate=86400",
},
],
},
{
source: "/home/:slug*",
headers: [
{
key: "Cache-Control",
value: "s-maxage=2592000, stale-while-revalidate=86400",
},
],
},
{
source: "/profile/:slug*",
headers: [
{
key: "Cache-Control",
value: "s-maxage=2592000, stale-while-revalidate=86400",
},
],
},
{
source: "/release/:slug*",
headers: [
{
key: "Cache-Control",
value: "s-maxage=2592000, stale-while-revalidate=86400",
},
],
},
{
source: "/related/:slug*",
headers: [
{
key: "Cache-Control",
value: "s-maxage=2592000, stale-while-revalidate=86400",
},
],
},
{
source: "/search",
headers: [
{
key: "Cache-Control",
value: "s-maxage=2592000, stale-while-revalidate=86400",
},
],
},
];
},
};
export default withFlowbiteReact(NextConfig);