unpkg.com
Returning Errors for Swagger UI Assets
#1523
Labels
unpkg.com
Returning Errors for Swagger UI Assets
#1523
Issue Summary
Requests to
unpkg.com
for Swagger UI assets (e.g., CSS and JavaScript files) are failing due to server-side errors. This issue affects Pode's ability to serve Swagger UI correctly when relying onunpkg.com
as the default CDN.Affected URLs
The following Swagger UI assets hosted on
unpkg.com
are currently returning errors:https://unpkg.com/swagger-ui-dist@5/swagger-ui.css
https://unpkg.com/swagger-ui-dist@5/swagger-ui-bundle.js
Steps to Reproduce
curl
to request any of the affected URLs.unpkg.com
fails to serve the requested assets.F12
> Network Tab) or the console for error messages.Expected Behavior
Swagger UI assets should load correctly from
unpkg.com
without returning errors.Actual Behavior
Requests to
unpkg.com
return HTTP errors (e.g.,504 Not Found
). This prevents Pode from correctly serving Swagger UI whenunpkg.com
is used as the static asset source.Workaround
Switching to a different CDN, such as https://cdn.jsdelivr.net/npm
Proposed Resolution
Implement a configurable CDN setting
Additional Information
unpkg.com
for Swagger UI may experience broken UI or missing assets.unpkg.com
for static content delivery.The text was updated successfully, but these errors were encountered: