feat(frontend): scaffold Next.js app tooling and static assets
Set up the App Router toolchain, Docker build, Apple emoji vendor script, and public branding assets.
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
eslint: { ignoreDuringBuilds: true },
|
||||
images: {
|
||||
// Default "attachment" can prevent some clients from rendering /_next/image in <img>.
|
||||
contentDispositionType: "inline",
|
||||
},
|
||||
async redirects() {
|
||||
return [
|
||||
// Student self-service password recovery is disabled.
|
||||
{ source: "/recovery", destination: "/login", permanent: false },
|
||||
];
|
||||
},
|
||||
async headers() {
|
||||
return [
|
||||
{
|
||||
source: "/c/:path*",
|
||||
headers: [{ key: "X-Robots-Tag", value: "noindex, nofollow, noarchive" }],
|
||||
},
|
||||
];
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
Reference in New Issue
Block a user