This commit is contained in:
CakeCN
2025-09-11 21:41:59 +08:00
11229 changed files with 6148636 additions and 1 deletions

1
Html/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.pyc

1315
Html/.log Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -46,7 +46,8 @@ def desktop(user_uuid, course_id, chapter_name, lesson_name):
subprocess.Popen([
"sudo", "-u", user_id,
"code-server", "--bind-addr", f"0.0.0.0:{code_server_port}",
"--auth", "none", path_dir
"--auth", "none", path_dir,
"--extensions-dir", "/share/extension/"
])
except subprocess.CalledProcessError as e:
print(f"Error start code-server at {code_server_port} with path{path_dir} {e}")

29
Html/config.ini Normal file
View File

@@ -0,0 +1,29 @@
[Global]
base_chat_url = https://www.dmxapi.com/v1
api_key = sk-aMpnWklN2IbsK44d1kNpy6YOP9bk1pdPJjFeEmbb0a5ytEFf
model=gpt-4.1-nano
[VSCODE_WEB]
url = https://hsamooc.cn
#http://asengine.net:8282
[VSCODE_WEB_PATH]
is_wsl = true
windows_path = F:/
wsl_path = /mnt/f/
[USER_DATA]
dir = db/data/user/
[COURSE_DATA]
dir = db/data/course/
[MONGO]
uri = mongodb://admin:12138cake@hsamooc.com:27017/hsamooc_test?authSource=admin
[TENCENT_COS]
secret_id = AKIDZ0EG4f2FE0YszsXzEF5h5GDwSlOtDLGx
secret_key = WqUv99vUpwqWzEF2kEVYNzNXTChy2wfB
bucket = hsamooc-cdn-1374354408
region = ap-guangzhou
[ASE_ENGINE]
url = https://asengine.net
namespace = /socket.io/c159a41d238b00f35ff33e036d007a0dec4d03197084b5557949a2f7f5ffce03