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

[Bug]: codesandbox usage #42

Open
1 task done
hermanboxcar5 opened this issue Sep 3, 2023 · 7 comments
Open
1 task done

[Bug]: codesandbox usage #42

hermanboxcar5 opened this issue Sep 3, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@hermanboxcar5
Copy link

hermanboxcar5 commented Sep 3, 2023

What Happened

When using build of velocity on csb, uv server seems to be routed wrong

Expected Behavior

the uv server to be something like uv.ty62j-3000.csb.app instead of uv.csb.app

Steps to Reproduce

How to reproduce:
import this respitory from github in csb, and then let it do its thing. Then, run the setup commands, and open port 3000. 
Now the URL of my csb is something like ty62j-3000.csb.app, and when I try to use the proxy, it gives me the "Error" page. The bare server it is using seems to be "uv.csb.app/bare3" and won't work.

Other Information

How can I route the uv server with a custom URL? (not uv.something.csb.app instead something.csb.app/uv/)

Checklist

  • I have read and followed the contributing guidelines
@hermanboxcar5 hermanboxcar5 added the bug Something isn't working label Sep 3, 2023
@maxicode2
Copy link
Contributor

You can set a custom bare URL in the /public/uv/uv.config.js file.

@hermanboxcar5
Copy link
Author

yes but it would be inconsistant with the other files

@hermanboxcar5
Copy link
Author

also when I do that, the bare server URL is still uv.something.csb.app

@cohenerickson
Copy link
Owner

This is an issue with www. normalization, ill get around to fixing it when I get a chance.

@hermanboxcar5
Copy link
Author

no, no, it does not have anything to do with www. just the bare server insists on being on uv.somethinsomething.csb.app instead of like say somethingsomething.csb.app/bare/bare1

@hermanboxcar5
Copy link
Author

wait a second... do I need to host my bare server somewhere else?

@hermanboxcar5
Copy link
Author

ok guys here is the url: https://7lk3rq-3000.csb.app/ if you try to use it and see the bare server it is uv.7lk3rq-3000.csb.app I want it to be uv.7lk3rq-3000/csb.app/bare/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants