Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
liushooter committed Oct 13, 2022
1 parent 391fc98 commit 3f27ca5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pm2 start --name web3 -x 'node src/server.js'
3 changes: 1 addition & 2 deletions src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ router.post('/pow', async (ctx, next) => {

const feedback = await crateWp(epi, postData.editor, postData);

const msg = await createDiscordMsg(epi, postData.editor, postData);

var posts = [{
episode: epi,
time: now,
Expand Down Expand Up @@ -185,6 +183,7 @@ function crateWp(epi, editor, dx) {
}

// Create Discord Msg
// not sending msg to Discord
function createDiscordMsg(epi, editor, dx) {

const discord_url_posts = "https://discord.com/api/webhooks/884879700248383541/SaChSV9vyEu3uSo2ZUJI2DfBunbCKs6cw4zUxIu_GXpz0njlDNyLAfmpEGQeeAqHXctZ"
Expand Down

0 comments on commit 3f27ca5

Please sign in to comment.