Files
next.js/test/e2e/middleware-static-files/app/pages/pages-glob/hello.tsx
JJ KasperandGitHub 916f105b97 Update middleware public/static matching (#78325)
This updates our matcher handling for middleware to ensure we check
encoded/decoded versions of the pathname since the regex will most often
not handle all encoding variations. This matcher change only affects
public/static files as pages/API routes doesn't allow mismatching
encoding.
2025-04-18 14:01:55 -07:00

11 lines
197 B
TypeScript

import React from 'react'
import * as styles from './hello.module.css'
export default function Page() {
return (
<>
<p className={styles['text']}>pages-another/hello</p>
</>
)
}