Skip to content

Conversation

@ckadner
Copy link
Contributor

@ckadner ckadner commented Nov 11, 2022

The previous commit #368 enabled the MLX-UI to render Markdown files from GitHub Enterprise by using an API token. That token was used on the client web browser where the token could be sniffed out of the web traffic.

This PR moves the code to retrieve the README.md files from the UI client code (MarkdownViewer.tsx) to the UI server (server.ts) so the API token won't be exposed on the client web browser.

/cc @Tomcli @yhwang

Signed-off-by: Christian Kadner <ckadner@us.ibm.com>
@ckadner ckadner requested review from Tomcli and yhwang November 11, 2022 22:09
@mlx-bot-app
Copy link

mlx-bot-app bot commented Nov 11, 2022

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ckadner

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@mlx-bot-app mlx-bot-app bot added the approved label Nov 11, 2022
Signed-off-by: Christian Kadner <ckadner@us.ibm.com>
@Tomcli
Copy link
Contributor

Tomcli commented Nov 12, 2022

/lgtm

@mlx-bot-app mlx-bot-app bot added the lgtm label Nov 12, 2022
@mlx-bot-app mlx-bot-app bot merged commit e17df2b into claimed-framework:v0.2.0 Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants