Skip to content

Commit

Permalink
update log
Browse files Browse the repository at this point in the history
  • Loading branch information
fxmontigny committed Aug 1, 2023
1 parent 0b0cd61 commit 12916bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/routes/RouteIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default class RouteIndex extends Route {
path: '*',
})
async readFile(ctx) {
console.log('config', config)
console.log('config', config, ctx.request)
if (!config.forceURL && ctx.request?.header?.referer && ctx.request.header.referer.startsWith('http:')) {
ctx.res
.writeHead(301, {
Expand Down

0 comments on commit 12916bd

Please sign in to comment.