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

"I request an image using template literals, but the port cannot be replaced." #12391

Open
MyDataHouse opened this issue Dec 25, 2024 · 2 comments
Labels
needs feedback On hold until additional info is supplied type - bug

Comments

@MyDataHouse
Copy link

What happened?

image
"I hope the port can be replaced properly."

Reproduction steps

image
image
image

image
image

...

Sandcastle example

No response

Environment

Browser:
CesiumJS Version:
Operating System:

@jjspace
Copy link
Contributor

jjspace commented Jan 3, 2025

We do not currently support changing the port dynamically like that. The url is parsed and validated by urijs before the template keys are evaluated and set.

Can you provide more information about your use case? I would not normally expect the port to change like that

@jjspace jjspace added the needs feedback On hold until additional info is supplied label Jan 3, 2025
@MyDataHouse
Copy link
Author

I am trying to solve the browser's connection limit issue to speed up image loading. Since this is not an internet service, I cannot use subdomains to address it. I am wondering if supporting port replacement could be a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs feedback On hold until additional info is supplied type - bug
Projects
None yet
Development

No branches or pull requests

2 participants