Update HTTP mode description to reflect actual upload method
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
44c22bd95e
commit
ad5f9a4186
1 changed files with 3 additions and 3 deletions
|
|
@ -467,7 +467,7 @@ body::before{content:'';position:fixed;inset:0;background:radial-gradient(ellips
|
||||||
<button class="mode-btn" id="btn-udp" disabled style="opacity:.4;cursor:not-allowed;pointer-events:none">🖥️ Electron App</button>
|
<button class="mode-btn" id="btn-udp" disabled style="opacity:.4;cursor:not-allowed;pointer-events:none">🖥️ Electron App</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="mode-desc" id="mode-desc" style="margin-bottom:0">
|
<div class="mode-desc" id="mode-desc" style="margin-bottom:0">
|
||||||
<strong id="mode-label">HTTP Mode:</strong> <span id="mode-detail">Parallel chunked HTTP upload (6 concurrent 32 MB parts). Aspera-class speed — no UDP needed.</span>
|
<strong id="mode-label">HTTP Mode:</strong> <span id="mode-detail">Direct HTTP upload to S3-compatible storage (up to 4 concurrent files). Compatible with RustFS, MinIO, and AWS S3.</span>
|
||||||
</div>
|
</div>
|
||||||
<div style="text-align:right;margin-top:.3rem;font-size:.7rem;color:var(--text-dim);opacity:.6">Electron App — Aspera-speed desktop application (coming soon)</div>
|
<div style="text-align:right;margin-top:.3rem;font-size:.7rem;color:var(--text-dim);opacity:.6">Electron App — Aspera-speed desktop application (coming soon)</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -934,7 +934,7 @@ function setMode(mode) {
|
||||||
if (mode === 'http') {
|
if (mode === 'http') {
|
||||||
btn.className = 'btn-upload';
|
btn.className = 'btn-upload';
|
||||||
if (label) label.textContent = 'HTTP Mode:';
|
if (label) label.textContent = 'HTTP Mode:';
|
||||||
if (detail) detail.textContent = 'Parallel chunked HTTP upload (6 concurrent 32 MB parts). Aspera-class speed — no UDP needed.';
|
if (detail) detail.textContent = 'Direct HTTP upload to S3-compatible storage (up to 4 concurrent files). Compatible with RustFS, MinIO, and AWS S3.';
|
||||||
if (hint) hint.style.display = 'none';
|
if (hint) hint.style.display = 'none';
|
||||||
if (btnHttp) { btnHttp.className = 'mode-btn active-http'; }
|
if (btnHttp) { btnHttp.className = 'mode-btn active-http'; }
|
||||||
if (btnUdp) { btnUdp.className = 'mode-btn'; }
|
if (btnUdp) { btnUdp.className = 'mode-btn'; }
|
||||||
|
|
@ -1090,7 +1090,7 @@ async function startUpload() {
|
||||||
}
|
}
|
||||||
|
|
||||||
// ============================================================
|
// ============================================================
|
||||||
// SIMPLE UPLOAD — uses /api/upload with @aws-sdk/lib-storage on server
|
// SIMPLE UPLOAD — uses /api/upload with PutObjectCommand on server
|
||||||
// Compatible with RustFS / MinIO / generic S3 endpoints.
|
// Compatible with RustFS / MinIO / generic S3 endpoints.
|
||||||
// XMLHttpRequest used for upload progress tracking.
|
// XMLHttpRequest used for upload progress tracking.
|
||||||
// ============================================================
|
// ============================================================
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue