Compare commits

...

3 Commits

Author SHA1 Message Date
34bc7b4d0c Fix: Use repo_owner parameter to construct correct API URL 2026-01-07 13:12:16 +08:00
hwy
92b7d50817 更新 html.h 文件 (#4)
Some checks failed
backend / cross (arm) (push) Failing after 1m57s
backend / cross (aarch64) (push) Failing after 3m5s
backend / cross (armhf) (push) Failing after 2m25s
backend / cross (i686) (push) Failing after 10m24s
backend / cross (mips) (push) Failing after 30s
backend / cross (mips64) (push) Failing after 31s
backend / cross (mips64el) (push) Failing after 31s
backend / cross (mipsel) (push) Failing after 2m52s
backend / cross (s390x) (push) Failing after 31s
backend / cross (win32) (push) Failing after 31s
backend / cross (x86_64) (push) Failing after 31s
docker / build (push) Failing after 1m31s
Co-authored-by: 孟宁 <mengning@mengning.com.cn>
Reviewed-on: #4
Co-authored-by: hwy <1093970372@qq.com>
Co-committed-by: hwy <1093970372@qq.com>
2026-01-06 01:29:17 +00:00
44a0826a7d Merge pull request '重构开发容器创建过程' (#3) from fix/issue-32 into main
Some checks failed
docker / build (push) Failing after 2m44s
Reviewed-on: #3
2026-01-05 02:19:46 +00:00
2 changed files with 16262 additions and 16202 deletions

View File

@@ -35,7 +35,9 @@ export class Terminal extends Component<Props, State> {
const options = new URLSearchParams(decodeURIComponent(window.location.search)); const options = new URLSearchParams(decodeURIComponent(window.location.search));
this.isDockerType = options.get('type') === 'docker'; this.isDockerType = options.get('type') === 'docker';
this.apiBaseUrl = `http://${options.get('domain')}:${options.get('port')}/${options.get('user')}/${options.get('repo')}`; // Use repo_owner if available, otherwise fall back to user
const repoOwner = options.get('repo_owner') || options.get('user');
this.apiBaseUrl = `http://${options.get('domain')}:${options.get('port')}/${repoOwner}/${options.get('repo')}`;
this.apiParams = new URLSearchParams({ this.apiParams = new URLSearchParams({
repo: options.get('repoid') as string, repo: options.get('repoid') as string,
user: options.get('userid') as string, user: options.get('userid') as string,

32460
src/html.h generated

File diff suppressed because it is too large Load Diff