You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the d2 diagram generated SVG which is used to navigate my projects. The SVG where I use relative urls routes starting with '/', since it would be same in development or production environment. But now in new version link ignores the relative urls, last known good version was 0.6.5 is there way around this limitation.
EDIT
Found the way around "/route" -> "http:/route" works but not sure about it working in https
pool: {
shape : circle
link : "http:/route"
}
The text was updated successfully, but these errors were encountered:
rhoit
changed the title
link need to be fully qualified domain name (FQDN) in 0.6.9 ?
do link needs to be fully qualified domain name (FQDN) in 0.6.9 ?
Feb 17, 2025
If I understand correctly, you want to link to an absolute URL from root, like
x.link: /go
The SVG is hosted on a web server. When you run this locally, it goes to http://localhost:3000/go, and when you run it in prod, it goes to https://prod.com/go. Is that right?
I use the d2 diagram generated SVG which is used to navigate my projects. The SVG where I use relative urls routes starting with '/', since it would be same in development or production environment. But now in new version link ignores the relative urls, last known good version was 0.6.5 is there way around this limitation.
EDIT
Found the way around "/route" -> "http:/route" works but not sure about it working in https
The text was updated successfully, but these errors were encountered: