mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-24 10:37:16 +00:00
Fix bugs that make server not work
This commit is contained in:
parent
134fade8b9
commit
a1c19791f5
2 changed files with 4 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import Sentry from "@sentry/node";
|
||||
// import Sentry from "@sentry/node";
|
||||
import { createApp } from "./app";
|
||||
import DiscordEventHandler from "./DiscordEventHandler";
|
||||
|
||||
|
|
@ -11,6 +11,7 @@ const app = createApp((action, ctx) => handler.handle(action, ctx));
|
|||
app.listen(port, () => console.log(`Example app listening on port ${port}!`));
|
||||
|
||||
// Initialize Sentry after we start listening. Any crash at start time will appear in the console and we'll notice.
|
||||
/*
|
||||
Sentry.init({
|
||||
dsn:
|
||||
"https://0e6bc841b4f744b2953a1fe5981effe6@o68382.ingest.sentry.io/5508241",
|
||||
|
|
@ -19,3 +20,4 @@ Sentry.init({
|
|||
// for finer control
|
||||
tracesSampleRate: 1.0,
|
||||
});
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@
|
|||
"yargs": "^13.2.4"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "ts-node --transpile-only api/server.js",
|
||||
"start": "ts-node --transpile-only api/server.ts",
|
||||
"tweet": "ts-node --transpile-only ./cli.ts tweet",
|
||||
"fetch-metadata": "ts-node --transpile-only ./cli.ts fetch-metadata",
|
||||
"bot": "ts-node --transpile-only ./discord-bot/index.js",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue