hywax / mafl

Minimalistic flexible homepage
https://mafl.hywax.space
MIT License
306 stars 22 forks source link

[QUESTION] Local icons not found #128

Open lukasitaly opened 1 month ago

lukasitaly commented 1 month ago

Question

So my folder structure is as follows:

This is my compose:

services:
  mafl:
    container_name: mafl
    image: hywax/mafl
    restart: unless-stopped
    ports:
      - '3212:3000'
    volumes:
      - ./config.yml:/app/data/config.yml
      - ./icons:/app/public/icons
      - ./favicons:/app/public/favicons

For the config I use the guide on your website. One example that didn't work:

    - title: Audiobookshelf
      description: Audiobooks
      link: https://audiobooks.hoferlukas.org/
      icon:
        url: ./icons/audiobookshelf.png
        wrap: true
        color: '#3dbcf3'
      status:
        enabled: true

No matter how I try it doesn't seem to find the file. And the file exists with this exact name. I tried to play around with the path in the browser-inspector but no matter what the file is not found. What am I doing wrong?

Category

Using Icons

hywax-assistant commented 1 month ago

👋 @lukasitaly Thanks for opening your first issue here! To help make it easier for us to investigate your issue, please follow the contributing guidelines.

If you like this project, please ⭐ star our repo.

AnndaGH commented 1 week ago

same issue

UnToobed commented 1 week ago

I'll chime in and say I have the same issue with the exact same setup as lukasitaly. Love the dashboard but would like to be able to use local icons as well as external ones.