Errors in Dashboard, Dashboard blinking, Failed to load resource: the server responded with a status of 404 ()

I am having errors with my dashboard I been researching but cant seem to find a solution. I also noticed that my dashboard ealier that in my routers page would keep flashing and the routers would disappear. I checked my error logs but nothing is out of the ordinary. It looks like everything was working but I am concerned and would like to see if I can resolve the errors.

Failed to load resource: the server responded with a status of 404 ()
https://traefikXXXX/dashboard/assets/_hacks.de068122.js
https://traefik.XXXX/dashboard/assets/_init.2dcf31c3.js

[Quasar] boot error: TypeError: Failed to fetch dynamically imported module: https://traefik.XXXX/dashboard/assets/_hacks.de068122.js
https://traefik.XXXX/dashboard/assets/_init.2dcf31c3.js

services:

  traefik:
    image: traefik:v3.1.0
    container_name: traefik
    networks:
      - proxy
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun
    ports:
      - 80:80
      - 443:443
      #- 8080:8080
    volumes:
      - ./traefik/letsencrypt:/letsencrypt:cached
      - ./traefik:/etc/traefik/
      - ./traefik/logs:/var/logs/
      # Configure docker socket
      - /var/run/docker.sock:/var/run/docker.sock:ro
    labels:
      - "traefik.enable=true"

      # Enable Dashboard
      - "traefik.http.routers.traefik-api.rule=Host(`traefik.XXXX`)"
      - "traefik.http.routers.traefik-api.service=api@internal"
      - "traefik.http.routers.traefik-api.entrypoints=websecure"
      - "traefik.http.routers.traefik-api.tls.certresolver=letsencrypt"
    restart: unless-stopped

networks:
  proxy:
    external: true

in my config I have the following

  dashboard: true
  insecure: false

It seems Quasar a the framework used for the current Traefik webui (link).

But I don’t see any problems or errors when running simple Traefik example with v3.1.

Ill test it out and get back. I cant find any issues on my config but worth a shot. Ill post back here, thanks.