Skip to content

Commit

Permalink
Fix ESLint errors and remove unused redirects config
Browse files Browse the repository at this point in the history
  • Loading branch information
BetaMac committed Dec 13, 2024
1 parent 71ad8e4 commit ac95393
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ const nextConfig = {
images: {
unoptimized: true,
},
async redirects() {
return []
},
distDir: 'out',
}

Expand Down
3 changes: 1 addition & 2 deletions src/app/middleware.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { NextResponse } from 'next/server'
import type { NextRequest } from 'next/server'

export function middleware(request: NextRequest) {
// Use request to check URL if needed
export function middleware(_request: NextRequest) {
const response = NextResponse.next()

// Add security headers
Expand Down

0 comments on commit ac95393

Please sign in to comment.