Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

chore: Update .env.example by removing unused DB_PORT variable and add highlight.js dependency in package.json and package-lock.json

comqxd23863db630d
diff --git a/.env.example b/.env.example
index a90e47553..d542d928b 100644
--- a/.env.example
+++ b/.env.example
@@ -35,8 +35,6 @@ DOCREADER_PORT=50051
# 数据库用户名
DB_USER=postgres
-DB_PORT=5432
-
# 数据库密码
DB_PASSWORD=postgres123!@#
@@ -148,4 +146,4 @@ COS_ENABLE_OLD_DOMAIN=true
# NEO4J_USERNAME=neo4j
# Neo4j的密码
-# NEO4J_PASSWORD=password
+# NEO4J_PASSWORD=password
\ No newline at end of file
diff --git a/frontend/package-lock.json b/frontend/package-lock.json
index bf13f6121..2d41d6926 100644
--- a/frontend/package-lock.json
+++ b/frontend/package-lock.json
@@ -13,6 +13,7 @@
"@types/papaparse": "^5.5.0",
"axios": "^1.8.4",
"dompurify": "^3.2.6",
+ "highlight.js": "^11.11.1",
"marked": "^5.1.2",
"pagefind": "^1.1.1",
"papaparse": "^5.5.3",
@@ -2640,6 +2641,15 @@
"he": "bin/he"
}
},
+ "node_modules/highlight.js": {
+ "version": "11.11.1",
+ "resolved": "https://registry.npmmirror.com/highlight.js/-/highlight.js-11.11.1.tgz",
+ "integrity": "sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==",
+ "license": "BSD-3-Clause",
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
"node_modules/hookable": {
"version": "5.5.3",
"resolved": "https://mirrors.tencent.com/npm/hookable/-/hookable-5.5.3.tgz",
diff --git a/frontend/package.json b/frontend/package.json
index d8958c737..1fc1bce84 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -17,6 +17,7 @@
"@types/papaparse": "^5.5.0",
"axios": "^1.8.4",
"dompurify": "^3.2.6",
+ "highlight.js": "^11.11.1",
"marked": "^5.1.2",
"pagefind": "^1.1.1",
"papaparse": "^5.5.3",