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

Vaadin 24 dev-tools not only in localhost #7101

Open
RSM-CWI opened this issue Dec 11, 2024 · 5 comments
Open

Vaadin 24 dev-tools not only in localhost #7101

RSM-CWI opened this issue Dec 11, 2024 · 5 comments

Comments

@RSM-CWI
Copy link

RSM-CWI commented Dec 11, 2024

Describe your motivation

The Vaadin24/SpringBoot applications we develop make use of SSL/https ans OIDC/OAuth2 so even on our development machines. If I understood Tatu in expert chat correctly, the Vaadin dev tools as Vaadin Copilot, live reload etc. just work, when the app runs on http://loclahost... URL. We have different urls even in dev mode like these: https://machinename.intern.company.com:8443/appname

Describe the solution you'd like

We would like to configure/customize the url for the dev mode via a property or similar.
application-dev.yaml
vaadin:
dev-url: https://mymachine.intern.mycompany.com:8443/myapp

Describe alternatives you've considered

Our current workcaround ist to disable https and out als long as we want to use the dev tool.

Additional context

Enterprise development environmelt...

@Artur-
Copy link
Member

Artur- commented Dec 11, 2024

Use devmode.hostsAllowed described here https://vaadin.com/docs/latest/flow/configuration/properties#properties

@RSM-CWI
Copy link
Author

RSM-CWI commented Dec 11, 2024

@Artur- thanks a lot. I hope the yaml notation is equivalent ;-).

@RSM-CWI
Copy link
Author

RSM-CWI commented Dec 11, 2024

Unfortunately I did not succeed. Her is my config:

vaadin:
  devmode:
    hosts-allowed: mymachine.intern.mycompany.de:8441,*.intern.mycompany.de

Do I need anything in addition...?

@mcollovati
Copy link
Contributor

Try with hostsAllowed instead of hosts-allowed

@RSM-CWI
Copy link
Author

RSM-CWI commented Dec 12, 2024

Unfortuately that did not help, either....

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

No branches or pull requests

3 participants