diff --git a/website/jsconfig.json b/website/jsconfig.json new file mode 100644 index 00000000..36aa1a4d --- /dev/null +++ b/website/jsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "baseUrl": "." + } +} diff --git a/website/pages/api/new_task.js b/website/pages/api/new_task.js index 790c3f23..6743b33a 100644 --- a/website/pages/api/new_task.js +++ b/website/pages/api/new_task.js @@ -1,5 +1,5 @@ import { unstable_getServerSession } from "next-auth/next"; -import { authOptions } from "./auth/[...nextauth]"; +import { authOptions } from "pages/api/auth/[...nextauth]"; /** * Returns a new task created from the Task Backend. We do a few things here: diff --git a/website/pages/index.js b/website/pages/index.js index f0cb441a..9df611b9 100644 --- a/website/pages/index.js +++ b/website/pages/index.js @@ -5,7 +5,7 @@ import { useSession, signIn, signOut } from "next-auth/react"; import { useEffect, useState } from "react"; import useSWR from "swr"; -import styles from "../styles/Home.module.css"; +import styles from "styles/Home.module.css"; const fetcher = (url) => axios.get(url).then((res) => res.data);