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

Use relative paths and support installing in subfolders #94

Closed
agowa opened this issue Sep 12, 2021 · 1 comment
Closed

Use relative paths and support installing in subfolders #94

agowa opened this issue Sep 12, 2021 · 1 comment

Comments

@agowa
Copy link

agowa commented Sep 12, 2021

Is your feature request related to a problem? Please describe.

deploying for a subpath like "/chat" currently doesn't work. Even if the subpath option within the webpack configuration is used.

Describe the solution you'd like

Only use relative paths or allow to configure the subpath before building.

Describe alternatives you've considered

Using another matrix web client.

Additional context

I'm currently rebuilding my webpage and I want to host it within IPFS and I'd like to put the matrix chat app within a subpath of "/chat".
For the IPFS requirement, it would be nice if the path is relative because otherwise, the page won't work if the IPFS browser plugin is installed and clients get redirected to the gateway URL.
I'm also considering hosting my webpage on multiple domains (normal, ipfs, i2p, tor)

@agowa agowa changed the title Use rellative paths and support installing in subfolders Use relative paths and support installing in subfolders Sep 12, 2021
@ajbura
Copy link
Member

ajbura commented Sep 20, 2021

Related: #27

ajbura added a commit that referenced this issue Oct 19, 2021
Signed-off-by: Ajay Bura <ajbura@gmail.com>
@ajbura ajbura closed this as completed Oct 19, 2021
kfiven pushed a commit that referenced this issue Oct 25, 2021
Signed-off-by: Ajay Bura <ajbura@gmail.com>
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