# How to use local files for Dashboard 2.0 App Icon

**URL:** <https://discourse.nodered.org/t/how-to-use-local-files-for-dashboard-2-0-app-icon/99398>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [15 October 2025 00:25 UTC](https://discourse.nodered.org/t/how-to-use-local-files-for-dashboard-2-0-app-icon/99398 "2025-10-15T00:25:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SXlaowang](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sxlaowang/32/103836_2.png) [@SXlaowang](https://discourse.nodered.org/u/SXlaowang)\
**Post date:** [15 October 2025 00:25 UTC](https://discourse.nodered.org/t/how-to-use-local-files-for-dashboard-2-0-app-icon/99398/1 "2025-10-15T00:25:14Z")

</div>

I have used httpStatic in settings. js to implement fixed IP address icon access.  
But the problem is that my node red host has two network cards, corresponding to different IP addresses. When accessing the dashboard through different network cards, the URL of the icon file is different.  
So, I want to know if it's possible to use a method that directly calls local files to set the App icon

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [15 October 2025 14:47 UTC](https://discourse.nodered.org/t/how-to-use-local-files-for-dashboard-2-0-app-icon/99398/2 "2025-10-15T14:47:05Z")

</div>

I am replying as no-one else has. I think it should be possible to use a relative URL rather than absolute, so it will use the same base as the dashboard, but I don't know how to do that. Hopefully someone else does.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [14 November 2025 14:47 UTC](https://discourse.nodered.org/t/how-to-use-local-files-for-dashboard-2-0-app-icon/99398/3 "2025-11-14T14:47:16Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
