fix(examples): resolve web-cordis distIndex from a cwd with spaces
This commit is contained in:
@@ -12,7 +12,10 @@
|
|||||||
config:
|
config:
|
||||||
host: 127.0.0.1
|
host: 127.0.0.1
|
||||||
port: 3081
|
port: 3081
|
||||||
distIndex: !!js "new URL('./apps/web/dist/index.html', 'file://' + process.cwd() + '/').pathname"
|
# Plain concatenation, not URL.pathname: a cwd with spaces
|
||||||
|
# percent-encodes through the URL round-trip and the encoded
|
||||||
|
# path never resolves.
|
||||||
|
distIndex: !!js "process.cwd() + '/apps/web/dist/index.html'"
|
||||||
- insert:
|
- insert:
|
||||||
- id: tool-cordis
|
- id: tool-cordis
|
||||||
name: '@deepseek-ai/dsh-tool-cordis'
|
name: '@deepseek-ai/dsh-tool-cordis'
|
||||||
|
|||||||
Reference in New Issue
Block a user