felixmosh / bull-board

🎯 Queue background jobs inspector
MIT License
2.36k stars 366 forks source link

@nestjs + @bullboard/nestjs showing loading when accessing by ip #825

Closed qidamqolby closed 2 months ago

qidamqolby commented 2 months ago

hello, i got stuck on loading when accessing bull-board with ip

my code snippet BullModule.forRoot({ redis: { host: 'localhost', port: 6379, }, }), BullBoardModule.forRoot({ route: '/admin/queues', adapter: ExpressAdapter }),

when accessing with domain https://mydomain.com/admin/queues is normal but if accessing with ip server for eg: http://10.2.16.16:5004/admin/queues showing this

Screenshot 2024-09-27 151649

the problem on accessing bullboard, i have same example with swagger is running in both domain and ip

felixmosh commented 2 months ago

As you can see on the console, you don't have https when you open your ip (chrome adds it by default) Try to change to http... Anyway, it is not related to the lib itself.

qidamqolby commented 2 months ago

so i found it has interference with helmet (if i disable helmet page is loaded). i'll check it with helmet first. thanks