# Is the endpoint /resources/ relative to the editor endpoint?

**URL:** <https://discourse.nodered.org/t/is-the-endpoint-resources-relative-to-the-editor-endpoint/61077>\
**Category:** Developing Nodes\
**Created:** [10 April 2022 17:44 UTC](https://discourse.nodered.org/t/is-the-endpoint-resources-relative-to-the-editor-endpoint/61077 "2022-04-10T17:44:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [10 April 2022 17:44 UTC](https://discourse.nodered.org/t/is-the-endpoint-resources-relative-to-the-editor-endpoint/61077/1 "2022-04-10T17:44:06Z")

</div>

So,

I have a need to open up a new tab (to display a large network mesh from within my node)  
this map (currently embedded in the Node UI) uses JS files - fetched using `/resources/node-red-contrib-zwave-js/UITab/**.js`

Now then, I am moving this map to its own web page tab (similar to how the dashboard has its own page).

But here is the thing.  
is the endpoint always `http://***:1880/resources/` or can it change if the installation alters `httpAdminRoot`?

i.e would it suddenly become `http://***:1880/CustomAdminURI/resources/`

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [10 April 2022 19:40 UTC](https://discourse.nodered.org/t/is-the-endpoint-resources-relative-to-the-editor-endpoint/61077/2 "2022-04-10T19:40:38Z")

</div>

It is relative to httpAdminRoot as it is tied to serving resources to the editor.

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [10 April 2022 19:56 UTC](https://discourse.nodered.org/t/is-the-endpoint-resources-relative-to-the-editor-endpoint/61077/3 "2022-04-10T19:56:08Z")

</div>

Thanks @knolleary

---

<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:** [24 April 2022 19:56 UTC](https://discourse.nodered.org/t/is-the-endpoint-resources-relative-to-the-editor-endpoint/61077/4 "2022-04-24T19:56:31Z")

</div>

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