OxygenFramework / Oxygen.jl

💨 A breath of fresh air for programming web apps in Julia
https://oxygenframework.github.io/Oxygen.jl/
MIT License
383 stars 25 forks source link

favicon for swagger docs at docspath #178

Closed damjanmk closed 3 months ago

damjanmk commented 3 months ago

When you go to the Swagger docs in a browser it searches for the favicon in the or in the root folder. If it cannot find it, that requests gets an error which shows up in the metrics. Some may find this more bothersome than others. I thought I would reuse the same path to the favicon used in metrics and I added a variable to account for docpath in case the user changes it from the default /docs.