Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cblanc committed Mar 1, 2024
1 parent 2522958 commit c53a688
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export const routes = (app: Express): void => {

router.get("/scotland/postcodes/:postcode", scottishPostcodes.show);

router.use(express.static("docs/build"));

const { urlPrefix } = getConfig();
app.use(urlPrefix, router);

router.use(express.static("../../docs/build"));
};

0 comments on commit c53a688

Please sign in to comment.