skyportlabs / panel

Skyport is an open source panel for managing and operating game servers and applications built using Node.js with Express and Dockerode. SSB0aGluayBJJ3ZlIG1hZGUgbXkgY2hvaWNlCkknbSBhIGRlY2Vhc2VkIHBsYXlpbmcgdmljdGlt
https://skyport.dev
MIT License
279 stars 67 forks source link

Favicon customizable #106

Closed ManucrackYT closed 4 days ago

am5z commented 4 days ago

favicon won't exist unless a logo is set

ManucrackYT commented 4 days ago

Thats why the user has to set a favicon so there will be one. If not the favicon wont display until new related changes. Btw, i think privt has a better solution for this thing

am5z commented 4 days ago

privt added this. good enough, essentially does the same thing


      <% if (logo == true) { %>
         <link rel="icon" href="/assets/logo.png" type="image/x-icon">
         <% }  else { %>
            <link rel="icon" href="https://i.imgur.com/uvDunAR.png" type="image/x-icon">
         <% } %>
ManucrackYT commented 4 days ago

yeah thats what he showed me so good, its better