Skip to content

add(driver): 123 official app#79

Merged
PIKACHUIM merged 3 commits intomainfrom
add-123pan
Mar 31, 2026
Merged

add(driver): 123 official app#79
PIKACHUIM merged 3 commits intomainfrom
add-123pan

Conversation

@PIKACHUIM
Copy link
Copy Markdown
Member

add(driver): 123 official app

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for using official 123 网盘 (123pan) app credentials via environment bindings, and adjusts the UI to allow “server-side/official credentials” mode for the 123 网盘 driver.

Changes:

  • Add cloud123_uid / cloud123_key bindings to Wrangler configs and runtime env injection.
  • Update the 123 网盘 OAuth/login flow to optionally use server-provided credentials and send JSON payloads.
  • Add a new /app route and adjust the frontend driver-selection behavior to no longer forbid server-side mode for 123cloud_go.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
wrangler.jsonc Adds cloud123_uid/cloud123_key to Worker vars.
wrangler.example.jsonc Adds example cloud123_uid/cloud123_key entries.
src/index.ts Adds cloud123_* to bindings and introduces /app redirect route.
src/driver/123cloud_oa.ts Uses server env creds when server_use is enabled; switches request to JSON.
src/basic.ts Injects cloud123_* from process.env for node dev server.
public/static/event.js Allows server-side mode selection for 123cloud_go.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/index.ts Outdated
Comment thread src/basic.ts
PIKACHUIM and others added 2 commits March 31, 2026 19:54
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Pikachu Ren <40362270+PIKACHUIM@users.noreply.github.com>
@PIKACHUIM PIKACHUIM merged commit 745fed4 into main Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants