Surnet/swagger-jsdoc

customfavIcon does not work

DinoscapeProgramming opened this issue · 7 comments

Describe the bug
I‘ve declared a variable (uiOpts) and have customCss, customSiteTitle and customfavIcon in it, the first both things are working, but not customfavIcon. The file I specified is published on my site (https://url.dinoscape.tk/favicon.webp).

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
I can‘t change the favicon of my site.

Screenshots
DB846D68-23EA-4805-B72F-1030F0FF3DD8
D5741FA2-645D-47E9-92A1-C8EEBFB93799

Tablet (yeah, i‘m using a tablet):

  • OS: iOS
  • Browser: Safari
  • Version 14.6

Additional context
I tried to change the images in https://url.dinoscape.tk/docs/favicon-16x16.png and https://url.dinoscape.tk/docs/favicon-32x32.png, so the images changed, but it still doesn‘t work. Oh, and I’m using the version 3.0.

I hope anyone can help me :)

Oh, I saw you‘re from switzerland, so we can speak German?

Also ich bin Deutscher. Wenn man Englisch nicht so gut ist, dann entschuldige ich mich dafür.

hi @DinoscapeProgramming the swagger-jsdoc does not handle UI configs. Probably you need to open an issue inside of swaggerUi to understand the better fix to your issue.

hi @DinoscapeProgramming the swagger-jsdoc does not handle UI configs. Probably you need to open an issue inside of swaggerUi to understand the better fix to your issue.

Oh, ups, my mistake 🤦‍♂️

Sorry, I opened a wrong issue :(

@DinoscapeProgramming don't worry. Just for sure share your config resulting from const swaggerDocs = swaggerJsDoc(swaggerOptions); to us see if we can help you with something.

Also try to share a tiny repo or code reproducing the error that you are having.