Skip to content
This repository has been archived by the owner on Jan 21, 2025. It is now read-only.

fix debug logs & 404 on docs after new deploy #156

Merged
merged 4 commits into from
Jan 25, 2023
Merged

Conversation

mordamax
Copy link
Contributor

@mordamax mordamax requested a review from a team as a code owner January 25, 2023 13:15
@mordamax mordamax changed the title Mak/fix debug logs fix debug logs & 404 on docs after new deploy Jan 25, 2023
Copy link
Contributor

@Bullrich Bullrich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quite a big commit 😅
image

yarn-error.log Outdated
@@ -0,0 +1,7776 @@
Arguments:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess this was an accidental commit.

Can you please delete this and add it to the .gitignore file please?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, thanks!

Copy link
Contributor

@rzadp rzadp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me (except for the already mentioned error log)

@@ -54,7 +56,7 @@ export async function fetchCommandsConfiguration(
}

export function getDocsUrl(commitHash: string): string {
return new URL(path.join(config.cmdBotUrl, DOCS_PATH, getDocsFilename(commitHash))).toString()
return new URL(path.join(config.cmdBotUrl, DOCS_URL_PATH, getDocsFilename(commitHash))).toString()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using path.join in URLs is probably a mistake, as the purpose of path.join is to generate OS-specific slashes, while URLs always use /

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although, it will work anyway, so changing it is up to you
Screen Shot 2023-01-25 at 16 37 13

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, i'd keep it for now

Copy link
Contributor

@mutantcornholio mutantcornholio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, aside from yarn-error.log, which was already mentioned

@mordamax mordamax requested a review from Bullrich January 25, 2023 18:50
@mordamax mordamax merged commit ada86d4 into master Jan 25, 2023
@mordamax mordamax deleted the mak/fix-debug-logs branch April 11, 2023 11:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants