-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
validator.worker.js.map not found #2146
Comments
After merging #2998 and building docker image locally, I can verify that this no longer manifest. It should be away when we release next version of SwaggerEditor. Explanation: We bundle validation worker as a BLOB URL directly to main bundle (there is no separate file). We no longer use web worker fallbacks as we expect that everybody who uses SwaggerEditor is already using a browser that supports web workers. We do declare following in our main README file: |
Q&A (please complete the following information)
Content & configuration
Example Swagger/OpenAPI definition:
Does not matter, this is seen in nginx logs
Swagger-Editor configuration options:
Does not matter, this is seen in nginx logs
Describe the bug you're encountering
When we start a container with swaggerapi/swagger-editor:v3.8.1 image, nginx logs show 404 for validator.worker.js.map file.
I have not tested it completely, to determine if there was any loss in functionality.
To reproduce...
Steps to reproduce the behavior:
open() "/usr/share/nginx/html/validator.worker.js.map" failed (2: No such file or directory)
Expected behavior
No "file not found" related error message in docker logs
Screenshots
Additional context or thoughts
This is source map file, so in theory shouldn't be a problem. To fix it, I had copied the file from /usr/share/nginx/html/dist/validator.worker.js.map to /usr/share/nginx/html/validator.worker.js.map
The text was updated successfully, but these errors were encountered: