fix: chatgpt prompts

This commit is contained in:
2024-06-21 11:36:23 +02:00
parent 0adce93c81
commit 9fc57d45b5
10 changed files with 27 additions and 32 deletions

View File

@ -1,7 +1,7 @@
import { Handlers } from "$fresh/server.ts";
import { create, getNumericDate } from "https://deno.land/x/djwt@v2.2/mod.ts";
import { oauth2Client } from "@lib/auth.ts";
import { getCookies, setCookie } from "$std/http/cookie.ts";
import { getCookies, setCookie } from "@std/http/cookie";
import { codeChallengeMap } from "./login.ts";
import { GITEA_SERVER, JWT_SECRET, SESSION_DURATION } from "@lib/env.ts";
import { userDB } from "@lib/db.ts";

View File

@ -1,6 +1,6 @@
import { Handlers } from "$fresh/server.ts";
import { oauth2Client } from "@lib/auth.ts";
import { setCookie } from "$std/http/cookie.ts";
import { setCookie } from "@std/http/cookie";
export const codeChallengeMap = new Map<
string,

View File

@ -1,4 +1,4 @@
import { deleteCookie } from "https://deno.land/std@0.197.0/http/cookie.ts";
import { deleteCookie } from "@std/http/cookie";
import { Handlers } from "$fresh/server.ts";
export const handler: Handlers = {