/**
 * @type {import('next').NextConfig}
 **/
module.exports = {
  async redirects() {
    return [
      {
        source: '/',
        destination: '/dashboard',
        permanent: true,
      },
    ];
  },
  images: {
    domains: [
      // For sharex icon in manage user
      'getsharex.com',
      // For flameshot icon, and maybe in the future other stuff from github
      'raw.githubusercontent.com',
      // Discord Icon
      'assets-global.website-files.com',
    ],
  },
  poweredByHeader: false,
  reactStrictMode: true,
};
