Update AppImage

This commit is contained in:
MacRimi
2025-09-28 23:09:31 +02:00
parent a8e7119b4a
commit 795d96f8d5
84 changed files with 2251 additions and 6071 deletions

View File

@@ -1,5 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
trailingSlash: true,
eslint: {
ignoreDuringBuilds: true,
},
@@ -9,6 +11,32 @@ const nextConfig = {
images: {
unoptimized: true,
},
}
experimental: {
esmExternals: 'loose',
},
webpack: (config, { isServer }) => {
if (!isServer) {
config.resolve.fallback = {
...config.resolve.fallback,
fs: false,
net: false,
tls: false,
};
}
return config;
},
async headers() {
return [
{
source: '/api/:path*',
headers: [
{ key: 'Access-Control-Allow-Origin', value: '*' },
{ key: 'Access-Control-Allow-Methods', value: 'GET, POST, PUT, DELETE, OPTIONS' },
{ key: 'Access-Control-Allow-Headers', value: 'Content-Type, Authorization' },
],
},
];
},
};
export default nextConfig
export default nextConfig;