-
Notifications
You must be signed in to change notification settings - Fork 7.7k
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
DRAWIO_LIGHTBOX_URL config not working when self-hosted #3175
Comments
Can you test again with the latest build? |
test with 20.6.0 and 20.6.2,same problem. |
AlmaLinux 8.7, Portainer, Niginx Proxy Manager, Drawio v20.7.4
|
Is there a solution to this issue? |
test with 20.8.20,same problem. |
I had the same problem. I got it working with the following variables: DRAWIO_BASE_URL=https://diagrams.example.com Note the /. at the end of the DRAWIO_LIGHTBOX_URL. Hope it helps! |
The DRAWIO_LIGHTBOX_URL must be different from the main url (DRAWIO_BASE_URL) such that it opens the lightbox directly. So, @JoghurtMitDerEcke solution is the best workaround if you can't have a different url/subdomain. Thanks |
@jeffshead Did you ever find a solution for this, my setup is very similar with NPM. |
Solution: Add |
Preflight Checklist
Describe the bug
I am using v20.5.3 self-hosted in domain like http://diagram.explame.com
When set DRAWIO_LIGHTBOX_URL value 'http://diagram.explame.com', the website will not working.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Set DRAWIO_LIGHTBOX_URL let Publish\Link... can generate with specified url.
Screenshots
draw.io version (In the Help->About menu of the draw.io editor):
Desktop (please complete the following information):
Additional context
I read #2149 #750 #2149 #2057, doesn't help solve the problem.
The text was updated successfully, but these errors were encountered: