Skip to content

Commit

Permalink
Merge pull request #148 from UoaWDCC/feat/ticket-scanning-page
Browse files Browse the repository at this point in the history
Feat/ticket scanning page
  • Loading branch information
gmat224 authored Dec 10, 2024
2 parents f97eed9 + 9027f2d commit 82757b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { notFound } from "./middleware/errorMiddleware";
const app = express();
config();

// DELET ONC WE HAVE SUPEROTKEN THING postgresql://db:5432/AUIS?user=AUIS&password=GuryIsGoat
// DELET ONC WE HAVE SUPEROTKEN THING
var domainSuperToken = `postgres://${process.env.DATABASE_USERNAME}:${process.env.DATABASE_PASSWORD}@${process.env.DATABASE_HOST}:${process.env.SUPERTOKENS_PORT}/supertokens`;
console.log(domainSuperToken);
var domainDatabase = `postgres://${process.env.DATABASE_USERNAME}:${process.env.DATABASE_PASSWORD}@${process.env.DATABASE_HOST}:${process.env.DATABASE_PORT}`;
Expand Down Expand Up @@ -67,8 +67,8 @@ app.use(
);

// Supertokens middleware.
app.use(middleware());
app.use(express.static("public"));
// app.use(middleware());
// app.use(express.static("public"));

// @Ratchet7x5: INFO: Use JSON parser for all non-webhook routes
// otherwise, webhook and db entries will fail
Expand Down

0 comments on commit 82757b9

Please sign in to comment.