Skip to content

Commit

Permalink
refactor: rename server env file
Browse files Browse the repository at this point in the history
  • Loading branch information
swh00tw committed Feb 28, 2024
1 parent 0d20f7c commit 6c40903
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/recnet/src/middleware.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { NextRequest } from "next/server";
import { authMiddleware } from "next-firebase-auth-edge";
import { authConfig } from "./serverConfig";
import { authConfig } from "./serverEnv";

export async function middleware(request: NextRequest) {
return authMiddleware(request, {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion apps/recnet/src/utils/getUserServerSide.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import "server-only";
import { Tokens, getTokens } from "next-firebase-auth-edge";
import { cookies } from "next/headers";
import { authConfig } from "@/serverConfig";
import { authConfig } from "@/serverEnv";
import { User } from "@/types/user";
import { getUserByEmail } from "@/server/user";

Expand Down

0 comments on commit 6c40903

Please sign in to comment.