Skip to content

Commit

Permalink
debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuebert committed May 24, 2024
1 parent 4df8f1d commit f68371d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ app.get('/:repo', async (req, res) => {

app.get('/*', async (req, res) => {
const host = req.hostname;
console.log('host', host)
console.log('match', host.match(HOST_REPO_REGEX))
console.log(req)
const match = host.match(HOST_REPO_REGEX);
if (match) {
const repo = match[1];
Expand Down

0 comments on commit f68371d

Please sign in to comment.