mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
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.
11 lines
197 B
TypeScript
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>
|
|
</>
|
|
)
|
|
}
|