morghulis 4.3.2 → 4.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/index.cjs +4 -4
- package/dist/index.js +516 -508
- package/dist/types/library/file-url.d.ts +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -38,6 +38,8 @@ app.mount('#app')
|
|
|
38
38
|
|
|
39
39
|
`base_url` 支持代理路径(例如 `/api/`)或后端完整地址(例如 `http://localhost:8000`),末尾的斜杠可以省略。WebSocket 地址会自动拼接客户端路径,并将 HTTP/HTTPS 协议转换为 WS/WSS。
|
|
40
40
|
|
|
41
|
+
`minio_url` 同样支持代理路径(例如 `/minio`)或对象存储完整地址(例如 `http://localhost:9000`),末尾的斜杠可以省略。文件预览与下载会自动补齐路径之间的斜杠,并保留地址中的路径前缀。
|
|
42
|
+
|
|
41
43
|
跨域直连 Django 后端时,需要在后端允许组件库使用的 `Client`、`Auth` 请求头。例如使用 `django-cors-headers` 时:
|
|
42
44
|
|
|
43
45
|
```python
|