|
Fix SyntaxError: Illegal return statement in STL viewer
The previous fix replaced `throw err` with `return` inside a module, but top-level `return` is a SyntaxError in ES modules. Reverted to `throw err` — the error message is already shown on screen, so the user still gets a graceful fallback even though the error appears in the console. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
|---|
|
|
| webclient/dist/content-viewers/stl.html |
|---|
| webclient/public/content-viewers/stl.html |
|---|