How to change the favicon?


#1

Shinyproxy by default loads with the spring boot logo as the favicon image. How do you change this? It would be nice to have the ability to change the favicon in the application.yaml file so the favicon could be changed in the same manner the navbar image is changed.


#2

@Luke_Singham Have you managed to change the spring boot logo?


#3

I have created a static folder and placed my favicon.ico in there. When I start shinyproxy as

java -cp static:shinyproxy-1.0.2.jar org.springframework.boot.loader.JarLauncher

this favicon is used.


#4

@rstub Where did you place you static folder? I’ve tried /opt/shinyproxy/static and /etc/shinyproxy/static and chmod -R 777 on both folders, but it still doesn’t show.


#5

@fifthace I placed the static folder in the same directory as the jar file. You could also use absolute paths like

java -cp </path/to/static>:</path/to/shinyproxy.jar>  org.springframework.boot.loader.JarLauncher