mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 21:00:24 +00:00
Diffs: preserve base paths for viewer assets
This commit is contained in:
@@ -281,6 +281,8 @@ Viewer assets:
|
||||
- `/plugins/diffs/assets/viewer.js`
|
||||
- `/plugins/diffs/assets/viewer-runtime.js`
|
||||
|
||||
The viewer document resolves those assets relative to the viewer URL, so an optional `baseUrl` path prefix is preserved for both asset requests too.
|
||||
|
||||
URL construction behavior:
|
||||
|
||||
- If `baseUrl` is provided, it is used after strict validation.
|
||||
|
||||
Reference in New Issue
Block a user