File tree Expand file tree Collapse file tree
content/money/passive-income-protfolio Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ const fetch = require("node-fetch");
1414 }
1515
1616 const currentFeedPosts = await response . json ( ) ;
17- // console.log("Current feed post is ", currentFeedPosts['latest-post']);
17+ console . log ( "Current feed post is " , currentFeedPosts [ 'latest-post' ] ) ;
1818
1919 // read the locally built version of the data source
2020 const onlineFeedPosts = JSON . parse ( fs . readFileSync ( "./public/feed/index.json" , { encoding : "utf8" } ) ) ;
21- // console.log("Online feed post is ", onlineFeedPosts['latest-post']);
21+ console . log ( "Online feed post is " , onlineFeedPosts [ 'latest-post' ] ) ;
2222
2323 // compare the two
2424 if ( currentFeedPosts [ 'latest-post' ] [ 'url' ] !== onlineFeedPosts [ 'latest-post' ] [ 'url' ] ) {
@@ -42,7 +42,7 @@ const fetch = require("node-fetch");
4242
4343 var dataString = JSON . stringify ( postData ) ;
4444
45- // console.log(dataString);
45+ console . log ( dataString ) ;
4646
4747 var options = {
4848 url : 'https://app.webpushr.com/api/v1/notification/send/all' ,
Original file line number Diff line number Diff line change 11---
22title : " 慢慢变富 # 组合月报(202105)"
33date : 2021-06-05
4- draft : true
4+ draft : false
55series : ["投资实证"]
66tags : ["投资组合", "指数定投", "ETF"]
77keywords : " 被动收入投资组合、指数定投、ETF定投"
You can’t perform that action at this time.
0 commit comments