[PR #107] [CLOSED] Feat: site code can be explicitly set to a specified value when being reset #22308

Closed
opened 2026-02-21 20:18:40 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify/pull/107
Author: @lethe3000
Created: 5/19/2023
Status: Closed

Base: mainHead: feat/explicitly-code-set


📝 Commits (3)

  • 0a9ae5d Feat: site code can be explicitly set to a specified value when being reset
  • 05a44af Feat: just post an empty body when on generate code is fired
  • 2a12c1f Feat: just post an empty body when on generate code is fired

📊 Changes

5 files changed (+26 additions, -11 deletions)

View changed files

📝 api/controllers/console/app/error.py (+6 -0)
📝 api/controllers/console/app/site.py (+10 -1)
📝 docker/docker-compose.yaml (+7 -7)
📝 web/app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/cardView.tsx (+1 -1)
📝 web/service/apps.ts (+2 -2)

📄 Description

Currently api AppSiteAccessTokenReset only supports generate a random site.code
So I add this feature that code can be explicitly set, this feature brings convenience for generate a more friendly and remember "share url" for end users.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify/pull/107 **Author:** [@lethe3000](https://github.com/lethe3000) **Created:** 5/19/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/explicitly-code-set` --- ### 📝 Commits (3) - [`0a9ae5d`](https://github.com/langgenius/dify/commit/0a9ae5df133312334f3f2bdb0514b5e14048a3ce) Feat: site code can be explicitly set to a specified value when being reset - [`05a44af`](https://github.com/langgenius/dify/commit/05a44afbd86163009e540d84a4a5ffa372fe570c) Feat: just post an empty body when on generate code is fired - [`2a12c1f`](https://github.com/langgenius/dify/commit/2a12c1fd242c68585b25be2f8becde31f203a911) Feat: just post an empty body when on generate code is fired ### 📊 Changes **5 files changed** (+26 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `api/controllers/console/app/error.py` (+6 -0) 📝 `api/controllers/console/app/site.py` (+10 -1) 📝 `docker/docker-compose.yaml` (+7 -7) 📝 `web/app/(commonLayout)/app/(appDetailLayout)/[appId]/overview/cardView.tsx` (+1 -1) 📝 `web/service/apps.ts` (+2 -2) </details> ### 📄 Description Currently api `AppSiteAccessTokenReset` only supports generate a random `site.code` So I add this feature that `code` can be explicitly set, this feature brings convenience for generate a more friendly and remember "share url" for end users. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-21 20:18:40 -05:00
yindo closed this issue 2026-02-21 20:18:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22308