Skip to content

Commit

Permalink
fix routing to match nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
kenahrens committed Apr 6, 2024
1 parent 2448924 commit 4d1bf78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import routePoems from './routes/poemRoute.js';

// Use Routes
app.use('/healthz', routeHealth);
app.use('/api/chats', routeChats);
app.use('/api/poems', routePoems);
app.use('/chats', routeChats);
app.use('/poems', routePoems);

// Just to listen to /
app.get('/', (req, res) => {
Expand Down
2 changes: 1 addition & 1 deletion ui/.env_example
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VITE_JSON_SERVER_URL=http://localhost:8080/api
VITE_JSON_SERVER_URL=http://localhost:8080

0 comments on commit 4d1bf78

Please sign in to comment.