mirror of
https://github.com/Hackdex-App/hackdex-website.git
synced 2026-03-22 02:04:11 -05:00
41 lines
858 B
TypeScript
41 lines
858 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
/* config options here */
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'http',
|
|
hostname: '127.0.0.1',
|
|
port: '54321',
|
|
pathname: '/storage/v1/**',
|
|
},
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'euma9sxl9y.ufs.sh',
|
|
pathname: '/f/**',
|
|
}
|
|
],
|
|
},
|
|
redirects: async () => {
|
|
return [
|
|
{
|
|
source: '/img/badge-dark.png',
|
|
destination: 'https://euma9sxl9y.ufs.sh/f/zxX0gGr1fg9cnaso9bhNGy79goWrVw5OTBFjMdbiXvASpLRE',
|
|
permanent: false,
|
|
},
|
|
];
|
|
},
|
|
turbopack: {
|
|
resolveExtensions: ['.mdx', '.md', '.tsx', '.ts', '.jsx', '.js', '.mjs', '.json'],
|
|
rules: {
|
|
'*.md': {
|
|
loaders: ['raw-loader'],
|
|
as: '*.js',
|
|
}
|
|
}
|
|
}
|
|
};
|
|
|
|
export default nextConfig;
|