spectaql icon indicating copy to clipboard operation
spectaql copied to clipboard

Specify custom images path

Open adriantr opened this issue 2 years ago • 1 comments

We have a need where we want to adjust href of favicon and logo adding additional prefix e.g. from images/logo.png to docs/images/logo.png.

I'll try to contribute with a PR on that.

adriantr avatar Jan 20 '23 10:01 adriantr

Are you saying that you will not be providing a local file to SpectaQL, but would rather prefer to provide a (relative) URL path instead?

If so, I understand, and I would probably implement it as a new configuration option named logoUrl (and faviconUrl) under the spectaql group. If you follow around the logoFile and faviconFile references, it's probably pretty easy to accommodate what you're trying to do.

If you can't figure it out, I'll get to it eventually next round of enhancements.

Good luck!

newhouse avatar Jan 20 '23 17:01 newhouse