mirror of
https://github.com/Radiquum/AniX.git
synced 2025-09-05 05:55:36 +05:00
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
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:
parent
7e99062c0c
commit
a4ecc27874
5 changed files with 6 additions and 8 deletions
84
next.config.mjs
Normal file
84
next.config.mjs
Normal 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);
|
Loading…
Add table
Add a link
Reference in a new issue