mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-09 09:30:06 +00:00
35 lines
936 B
TypeScript
35 lines
936 B
TypeScript
export interface UVMirror {
|
|
/**
|
|
* The setting id defined for the mirror.
|
|
*/
|
|
settingId: string
|
|
/**
|
|
* The default mirror to use.
|
|
*/
|
|
mirror: string
|
|
/**
|
|
* The fallback mirror to use.
|
|
*/
|
|
fallbackMirror: string
|
|
/**
|
|
* The path suffix to validate the mirror is reachable.
|
|
*/
|
|
validationPathSuffix?: string
|
|
}
|
|
|
|
export const PYTHON_MIRROR: UVMirror = {
|
|
settingId: 'Comfy-Desktop.UV.PythonInstallMirror',
|
|
mirror:
|
|
'https://github.com/astral-sh/python-build-standalone/releases/download',
|
|
fallbackMirror:
|
|
'https://python-standalone.org/mirror/astral-sh/python-build-standalone',
|
|
validationPathSuffix:
|
|
'/20250115/cpython-3.10.16+20250115-aarch64-apple-darwin-debug-full.tar.zst.sha256'
|
|
}
|
|
|
|
export const PYPI_MIRROR: UVMirror = {
|
|
settingId: 'Comfy-Desktop.UV.PypiInstallMirror',
|
|
mirror: 'https://pypi.org/simple/',
|
|
fallbackMirror: 'https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple'
|
|
}
|