Skip to content

Conversation

@edward-io
Copy link
Contributor

This change allows Insights to work with Jupyter server proxy.

However, Sagemaker is broken due to https://forums.aws.amazon.com/message.jspa?messageID=914445#914445.

Copy link
Contributor

@J0Nreynolds J0Nreynolds left a comment

Choose a reason for hiding this comment

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

Just had one question about the change to the package.json file.

"name": "frontend",
"version": "0.2.0",
"private": true,
"homepage": ".",
Copy link
Contributor

Choose a reason for hiding this comment

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

Was this necessary to get relative paths working?

Copy link
Contributor Author

@edward-io edward-io Mar 4, 2020

Choose a reason for hiding this comment

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

Yup, this rewrites the urls from /something.css to ./something.css, so it doesn't try to access the url root (if the app was hosted on example.com/proxy/1234/ it would correctly access it in example.com/proxy/1234/something.css instead of example.com/something.css.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@edward-io has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@edward-io merged this pull request in 465dbaf.

NarineK pushed a commit to NarineK/captum-1 that referenced this pull request Nov 19, 2020
Summary:
This change allows Insights to work with [Jupyter server proxy](https://github.com/jupyterhub/jupyter-server-proxy).

However, Sagemaker is broken due to https://forums.aws.amazon.com/message.jspa?messageID=914445#914445.
Pull Request resolved: meta-pytorch#312

Reviewed By: vivekmig

Differential Revision: D20252333

Pulled By: edward-io

fbshipit-source-id: f90cfd9dab46a479319774dbf6263d75e92a9be1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants