Blueprint extension development question

Simplily, how do I access an image I have in my public folder? So I've got an image in my public folder, I have setup my conf.yml but how would I go about accessing that image in my css files? I had a look at recolors github and tried doing the same they did, but for whatever reason when I built it said it couldn't find the file
5 Replies
Loki
Loki•12mo ago
Same URL as your panel, but the root starts in the public folder. For example, to get to /var/www/pterodactyl/public/favicons/apple-icon.png You'd go to https://panel.example.com/favicons/apple-icon.png
Chriss Quartz
Chriss QuartzOP•12mo ago
Thanks
Loki
Loki•12mo ago
🥂
Emma
Emma•12mo ago
@Chriss Quartz Quick note, image links might work differently in dashboard: css due to the file being bundled directly into React. To circumvent this, write CSS within style tags (or import css files) in the dashboard: wrapper file.
Chriss Quartz
Chriss QuartzOP•12mo ago
ok

Did you find this page helpful?