From 8788b1e91a6630873ab71f73ad6cfe6f1dfc61d5 Mon Sep 17 00:00:00 2001 From: Jordan Ramos Date: Fri, 22 May 2026 12:56:45 -0600 Subject: [PATCH] Fix document View link using localhost instead of relative URL The View button for documents was constructing the href as API_HOST + file_path which resolved to http://localhost:3001/... Since the frontend is served from the same Express server, this should be a relative path. Users' browsers don't have localhost:3001 running, so the link was broken for anyone not on the server itself. --- frontend/src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/App.js b/frontend/src/App.js index fb03df5..c562c90 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -2026,7 +2026,7 @@ export default function App() {