Skip to content

Commit

Permalink
feat: update naming & log requests
Browse files Browse the repository at this point in the history
  • Loading branch information
coltonehrman committed Jan 7, 2024
1 parent 50c838b commit 49de166
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>COCO Budgeter</title>
<title>Budgeter</title>
</head>

<body>
Expand Down
6 changes: 6 additions & 0 deletions prod-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ import express from "express";

const app = express();

app.use((req, res, next) => {
console.log(req.originalUrl);
console.log(req.protocol, req.hostname, req.baseUrl, req.headers);
next();
});

app.use("/budget-app", express.static("dist"));
app.use("/budget-app", express.static("build"));

Expand Down
2 changes: 1 addition & 1 deletion src/DesktopSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default function DesktopSidebar(): JSX.Element {
<IconButton variant="soft" color="primary" size="sm">
<MoneyOutlined />
</IconButton>
<Typography level="title-lg">COCO Budgeter</Typography>
<Typography level="title-lg">Budgeter</Typography>
</Box>
<Input
size="sm"
Expand Down

0 comments on commit 49de166

Please sign in to comment.