Skip to content

Commit 3ca4d60

Browse files
committed
refactor: update API route for static files from '/api/v1' to '/v1' for improved clarity and consistency
1 parent 7c54b0a commit 3ca4d60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/backend/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async function bootstrap() {
4040
credentials: true,
4141
});
4242

43-
app.use('/api/v1', express.static('public'));
43+
app.use('/v1', express.static('public'));
4444

4545
const port = process.env.PORT || '4000';
4646

0 commit comments

Comments
 (0)