Panel-redirect.js not loading specified pages in main window (HA 2021.12.1)

Hi all,

I have installed panel-redirect.js such that I have easy access to server-controls/supervisor/etc.

I’ve placed the JS file in my WWW directory. I have the icons on the my sidebar. But when I click on any of them I just get a blank main window.

This is my yaml:

panel_custom:
  - name: panel-redirect
    url_path: redirect-server-controls
    sidebar_title: Server Controls
    sidebar_icon: mdi:server
    module_url: /local/panel-redirect.js
    config:
      target: /config/server_control
  - name: panel-redirect
    url_path: redirect-logs
    sidebar_title: Logs
    sidebar_icon: mdi:math-log
    module_url: /local/panel-redirect.js
    config:
      target: /config/logs
  - name: panel-redirect
    url_path: redirect-devices
    sidebar_title: Devices
    sidebar_icon: mdi:devices
    module_url: /local/panel-redirect.js
    config:
      target: /config/integrations
  - name: panel-redirect
    url_path: redirect-supervisor
    sidebar_title: Supervisor
    sidebar_icon: mdi:home-assistant
    module_url: /local/panel-redirect.js
    config:
      target: /hassio/dashboard

Can anyone help??

I get the same thing only instead of a blank window it just goes back to the main lovelace screen.
In developer view it says

cannot read properties of undefined (reading 'html_url')