Skip to content

Commit

Permalink
fix: move to edge to see if school stops banning us
Browse files Browse the repository at this point in the history
  • Loading branch information
ImJustChew committed Jun 23, 2024
1 parent d24cb82 commit ac3a4f0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/api/ais_auth/grades/route.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { getStudentGrades } from "@/lib/headless_ais/grades";
import { NextRequest, NextResponse } from "next/server";

export const runtime = "edge";

export const POST = async (req: NextRequest) => {
const { ACIXSTORE } = await req.json();

Expand Down
2 changes: 2 additions & 0 deletions src/app/api/ais_auth/refresh/route.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { refreshUserSession, signInToCCXP } from "@/lib/headless_ais";
import { NextRequest, NextResponse } from "next/server";

export const runtime = "edge";

export const POST = async (req: NextRequest) => {
const form = await req.formData();
const studentid = form.get("studentid");
Expand Down
2 changes: 2 additions & 0 deletions src/app/api/ais_auth/signin/route.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { signInToCCXP } from "@/lib/headless_ais";
import { NextRequest, NextResponse } from "next/server";

export const runtime = "edge";

export const POST = async (req: NextRequest) => {
const form = await req.formData();
const studentid = form.get("studentid");
Expand Down

0 comments on commit ac3a4f0

Please sign in to comment.