Browse Source

Set case sensitive option for admin route

Tatiana Inama 6 năm trước cách đây
mục cha
commit
1057d86f94
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/Router.tsx

+ 1 - 1
src/Router.tsx

@@ -18,7 +18,7 @@ export const AppRouting = () => {
           <Route exact path="/">
             <App></App>
           </Route>
-          <Route path="/admin">
+          <Route sensitive path="/admin">
             <Admin></Admin>
           </Route>
           <Route path="/terms">