u
This commit is contained in:
1 parent
6277fb2f9e
commit
8ecac0d7dd
270 files changed
+40438
-529
No files matched your search
@@ -0,0 +1,10 @@
|
||||
import { Redirect } from 'expo-router'
|
||||
|
||||
export function middleware({ pathname }: { pathname: string }) {
|
||||
console.log(pathname)
|
||||
|
||||
// 示例:如果需要重定向
|
||||
// if (pathname === '/old-path') {
|
||||
// return Redirect('/new-path');
|
||||
// }
|
||||
}
|
||||
Reference in new issue
Block a user