logs
This commit is contained in:
parent
583d8e5d8e
commit
723796f3a4
|
@ -2,7 +2,8 @@ import { Authorizer } from "@authorizerdev/authorizer-js";
|
|||
import { Server } from "@hocuspocus/server";
|
||||
import Sentry from "@sentry/node";
|
||||
|
||||
Sentry.init({ dsn: process.env.GLITCHTIP_DSN });
|
||||
const s = Sentry.init({ dsn: process.env.GLITCHTIP_DSN });
|
||||
console.debug(s);
|
||||
|
||||
const port = process.env.PORT || 4000;
|
||||
const authorizer = new Authorizer({
|
||||
|
@ -10,8 +11,10 @@ const authorizer = new Authorizer({
|
|||
authorizerURL: process.env.AUTHORIZER_URL || "https://auth.discours.io",
|
||||
redirectURL: process.env.REDIRECT_URL || "https://testing.discours.io",
|
||||
});
|
||||
console.debug(authorizer);
|
||||
|
||||
const startServer = async () => {
|
||||
console.info("Starting server...");
|
||||
const server = await Server.configure({
|
||||
port: process.env.PORT || 4000,
|
||||
async onConnect({ connection }) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user