mirror of
https://github.com/wavetermdev/waveterm-docs.git
synced 2026-08-05 13:45:23 -07:00
fix edit url, update cookie dependency (#58)
* fix edit url * fix vulnerable cookie dependency
This commit is contained in:
@@ -36,9 +36,7 @@ const config: Config = {
|
||||
{
|
||||
path: "docs",
|
||||
routeBasePath: "/",
|
||||
editUrl: !process.env.EMBEDDED
|
||||
? "https://github.com/wavetermdev/waveterm-docs/edit/main/docs/"
|
||||
: undefined,
|
||||
editUrl: !process.env.EMBEDDED ? "https://github.com/wavetermdev/waveterm-docs/edit/main/" : undefined,
|
||||
} as import("@docusaurus/plugin-content-docs").Options,
|
||||
],
|
||||
"ideal-image",
|
||||
|
||||
+2
-1
@@ -53,7 +53,8 @@
|
||||
"typescript-eslint": "^8.8.0"
|
||||
},
|
||||
"resolutions": {
|
||||
"path-to-regexp@npm:2.2.1": "^3"
|
||||
"path-to-regexp@npm:2.2.1": "^3",
|
||||
"cookie@0.6.0": "^0.7.0"
|
||||
},
|
||||
"browserslist": {
|
||||
"production": [
|
||||
|
||||
@@ -4940,10 +4940,10 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"cookie@npm:0.6.0":
|
||||
version: 0.6.0
|
||||
resolution: "cookie@npm:0.6.0"
|
||||
checksum: 10c0/f2318b31af7a31b4ddb4a678d024514df5e705f9be5909a192d7f116cfb6d45cbacf96a473fa733faa95050e7cff26e7832bb3ef94751592f1387b71c8956686
|
||||
"cookie@npm:^0.7.0":
|
||||
version: 0.7.2
|
||||
resolution: "cookie@npm:0.7.2"
|
||||
checksum: 10c0/9596e8ccdbf1a3a88ae02cf5ee80c1c50959423e1022e4e60b91dd87c622af1da309253d8abdb258fb5e3eacb4f08e579dc58b4897b8087574eee0fd35dfa5d2
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user