Skip to content

Commit

Permalink
Merge pull request #121 from vintasoftware/fix/redirect-admin
Browse files Browse the repository at this point in the history
Fix /admin redirect from React
  • Loading branch information
fjsj authored Jun 26, 2024
2 parents 8fe23ef + 87b5887 commit 0ddf7fa
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 170 deletions.
4 changes: 4 additions & 0 deletions example/assets/js/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ const router = createBrowserRouter([
path: "/htmx",
element: <Redirect to="/htmx/" />,
},
{
path: "/admin",
element: <Redirect to="/admin/" />,
},
]);

const App = () => {
Expand Down
21 changes: 0 additions & 21 deletions example/rag/templates/base.html

This file was deleted.

55 changes: 0 additions & 55 deletions example/rag/templates/demo/chat_home.html

This file was deleted.

53 changes: 0 additions & 53 deletions example/rag/templates/demo/chat_thread.html

This file was deleted.

38 changes: 0 additions & 38 deletions example/rag/templates/demo/htmx_index.html

This file was deleted.

3 changes: 0 additions & 3 deletions example/rag/templates/demo/react_index.html

This file was deleted.

0 comments on commit 0ddf7fa

Please sign in to comment.