gregzuro / obsidian-kroki

MIT License
47 stars 27 forks source link

normalize URLs with trailing slash #10

Closed zheilbron closed 2 years ago

zheilbron commented 2 years ago

Requests paths are built assuming the server_url has a trailing slash. When the trailing slash is not included with a custom URL, its troublesome to figure out why requests are not working. This PR ensures that it exists.

PS: Thanks for the great plugin

gregzuro commented 2 years ago

Glad to help and thanks for the fix. I'll get this merged tomorrow.