summaryrefslogtreecommitdiff
path: root/next.config.mjs
blob: 9a6f2e06750c8f92cadc92ff9f30ec42ff3162dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/** @type {import('next').NextConfig} */
const nextConfig = {
  async rewrites() {
    return [
      {
        source: '/imgs.json',
        destination: 'https://imgs.geshem.space/imgs.json',
      },
      {
        source: '/imgs/:path*',
        destination: 'https://imgs.geshem.space/imgs/:path*',
      },
    ];
  },
};

export default nextConfig;