Skip to content

Commit

Permalink
Remove Note and Post models
Browse files Browse the repository at this point in the history
  • Loading branch information
nedgar committed Aug 9, 2023
1 parent afbd70b commit 128f35c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 72 deletions.
54 changes: 0 additions & 54 deletions app/models/note.server.ts

This file was deleted.

16 changes: 0 additions & 16 deletions app/models/post.server.ts

This file was deleted.

1 change: 0 additions & 1 deletion app/routes/verification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export const loader = async ({

const searchParams = new URL(request.url).searchParams;
const threadId = searchParams.get("thid");
console.log("threadId:", threadId);

const holderThreadState = threadId ? getHolderThreadState(threadId) : undefined;
const verifierThreadState = threadId ? getVerifierThreadState(threadId) : undefined;
Expand Down
2 changes: 1 addition & 1 deletion app/session.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const HTTPS_PORTS = [443, 9443];

// const isSecure = process.env.NODE_ENV === "production";
const isSecure = HTTPS_PORTS.includes(Number(process.env.PORT));
console.log("isSecure:", isSecure);
// console.log("isSecure:", isSecure);

export const sessionStorage = createCookieSessionStorage({
cookie: {
Expand Down

0 comments on commit 128f35c

Please sign in to comment.