Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: allow serving on subdirectory URL #20

Open
petiepooo opened this issue Apr 10, 2024 · 2 comments
Open

Feature: allow serving on subdirectory URL #20

petiepooo opened this issue Apr 10, 2024 · 2 comments

Comments

@petiepooo
Copy link

I just found this, and am looking to use it in our organization, thank you for sharing it.

I'd love it if this offered the ability to serve the app under a subdirectory, say at http://localhost/cyberchef/ instead of the base URL of http://localhost/ for example. While I'll be using a reverse proxy in front of it, it's often easier to have all proxied paths match so as not to need content rewriting. Without that, any resources or redirects will try to load from the base URL without including the subdirectory.

@RealOrangeOne
Copy link
Owner

Have you tried this and seen issues?

The GitHub Pages version runs on a sub-path, and seems to work just fine: https://gchq.github.io/CyberChef/

@petiepooo
Copy link
Author

I have tried it and seen issues. Hrefs in the returned pages do not have the suburl, so try to pull from the root.

Do you know how GitHub Pages does it? Do they rewrite links in the body content?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants