Good morning, I've been bashing my head on this problem for two days now.
I want to serve a swagger page on my APIs but the page is all white and when i check the logs i can see that it fails to load css and js files, it can't find them.
GET http://localhost:3000/docs/swagger-ui.css net::ERR_ABORTED 404 (Not Found)
GET http://localhost:3000/docs/swagger-ui-bundle.js net::ERR_ABORTED 404 (Not Found)
GET http://localhost:3000/docs/swagger-ui-standalone-preset.js net::ERR_ABORTED 404 (Not Found)
Uncaught ReferenceError: SwaggerUIBundle is not defined
at window.onload (swagger-ui-init.js:121:7)
these are the versions i'm using:
"@nestjs/swagger": "^11.0.3",
"@nestjs/core": "^11.0.0",
"helmet": "^8.0.0",
I added a screenshot of my main.ts i don't have enough available characters on discord.
Is there something I'm doing wrong, thanks in advance?