Skip to content

Commit

Permalink
fix(route): 晚点报道 (#13129)
Browse files Browse the repository at this point in the history
  • Loading branch information
nczitzk authored Aug 26, 2023
1 parent 812fbf2 commit 9cbdf90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/v2/latepost/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = async (ctx) => {

const apiColumnUrl = new URL('site/get-column', rootUrl).href;
const apiCommentUrl = new URL('news/get-comment', rootUrl).href;
const apiUrl = new URL(proma ? 'site/index' : 'news/get-news-data', rootUrl).href;
const apiUrl = new URL(proma ? 'news/get-news-data' : 'site/index', rootUrl).href;

const { data: columnResponse } = await got(apiColumnUrl);
const columns = arrayToDictionary(columnResponse?.data ?? []);
Expand Down

0 comments on commit 9cbdf90

Please sign in to comment.