@foxie the mm base web server is at

http://machine-address:port_from_config.js

module path adds

modules/module_name

and any folder inside module folder
sometimes

node_modules

and library
and it’s subfolder

the

path

library

resolve

method
can help build that path

be careful using localhost for the machine address, as this means ONLY. apps INSIDE the same machine can access

if you ran a remote browser to access your mm with your module, localhost would fail

I will use localhost for this example , using module name fribble

let host_address = config.address==“0.0.0.0”?“localhost”:config.address

“http://”+host_address+“:”+config.port+“/modules/”+this.name+“/node_modules/library_name/folder”

if all u need is the path to the folder

I will leave as an exercise how to get the magicmirror machine ip address if the config says ‘any adapter’ (address:“0.0.0.0”)