dmxAppConnect.js does not load on some ejs pages

Strange problem on 3.0.0 osx Catalina 10.15.5 using NodeJS

dmxAppConnect.js does not load
Had this working, but renamed and moved the app folder and got some issues after that.

Using layout.ejs and content pages. Most of them work fine. But some are unable to load dmxAppConnect.js.

One page that works fine (ccu.ejs) and one that does not (lease.ejs)

app/config/route.json

  {
      "path": "/ccu",
      "page": "ccu",
      "layout": "main",
      "name": "Ccu",
      "routeType": "content"
    },
  {
    "path": "/lease",
    "page": "lease",
    "layout": "main",
    "name": "Leases",
    "routeType": "content"
  },

ccu.ejs

<!-- Wappler include head-page="layouts/main" jquery_slim_34="local" bootstrap4="local" is="dmx-app" id="lease" appConnect="local" fontawesome_5="local" components="{dmxFormatter:{},dmxStateManagement:{},dmxBootstrap4TableGenerator:{},dmxBootstrap4PagingGenerator:{},dmxBootstrap4Collapse:{},dmxBrowser:{}}" -->

lease.ejs

<!-- Wappler include head-page="layouts/main" jquery_slim_34="local" bootstrap4="local" is="dmx-app" id="rig" appConnect="local" fontawesome_5="local" components="{dmxStateManagement:{},dmxBootstrap4TableGenerator:{},dmxBootstrap4PagingGenerator:{},dmxFormatter:{},dmxBootstrap4Collapse:{},dmxBrowser:{}}" -->

Inspected both pages and script src is identical

head
script src=“dmxAppConnect/dmxAppConnect.js”/script
base href="/"

ccu.ejs loads Request URL:
http://localhost:3000/dmxAppConnect/dmxAppConnect.js

And lease.ejs tries to load Request URL:
http://localhost:3000/lease/dmxAppConnect/dmxAppConnect.js

Any other files where the error can stem from ?

Community Page
Last updated: