Skip to content

Commit

Permalink
Merge pull request #48 from DIYgod/master
Browse files Browse the repository at this point in the history
[pull] master from diygod:master
  • Loading branch information
pull[bot] authored Sep 5, 2023
2 parents fee6157 + ababfbc commit 74ed004
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion lib/v2/mihoyo/bbs/official.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const TYPE_MAP = {
3: '资讯',
};

const renderDescription = (description, images) => art(path.join(__dirname, 'templates/description.art'), { description, images });
const renderDescription = (description, images) => art(path.join(__dirname, '../templates/description.art'), { description, images });

module.exports = async (ctx) => {
const { gids, type = '2', page_size = '20', last_id = '' } = ctx.params;
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,14 @@
},
"dependencies": {
"@koa/router": "12.0.0",
"@notionhq/client": "2.2.12",
"@notionhq/client": "2.2.13",
"@postlight/parser": "2.2.3",
"@sentry/node": "7.66.0",
"aes-js": "3.1.2",
"art-template": "4.13.2",
"bbcodejs": "0.0.4",
"cheerio": "1.0.0-rc.12",
"chrono-node": "2.6.5",
"chrono-node": "2.6.6",
"city-timezones": "1.2.1",
"crypto-js": "4.1.1",
"currency-symbol-map": "5.1.0",
Expand All @@ -104,7 +104,7 @@
"git-rev-sync": "3.0.2",
"googleapis": "126.0.1",
"got": "11.8.6",
"https-proxy-agent": "7.0.1",
"https-proxy-agent": "7.0.2",
"iconv-lite": "0.6.3",
"instagram-private-api": "1.45.3",
"ioredis": "5.3.2",
Expand Down Expand Up @@ -140,7 +140,7 @@
"rss-parser": "3.13.0",
"showdown": "2.1.0",
"simplecc-wasm": "0.1.5",
"socks-proxy-agent": "8.0.1",
"socks-proxy-agent": "8.0.2",
"source-map": "0.7.4",
"tiny-async-pool": "2.1.0",
"tough-cookie": "4.1.3",
Expand Down
42 changes: 21 additions & 21 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"clsx": "^2.0.0",
"markdown-it": "^13.0.1",
"meilisearch-docsearch": "^0.4.7",
"pinyin-pro": "3.16.3",
"pinyin-pro": "3.16.4",
"prism-react-renderer": "^2.0.6",
"react": "^17.0.2",
"react-dom": "^17.0.2"
Expand Down
8 changes: 4 additions & 4 deletions website/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 74ed004

Please sign in to comment.