Skip to content

Commit bc7bb0d

Browse files
authored
Merge pull request #20 from MinaFoundation/feature/base-url-hardcode-env-var
Feature/base url hardcode env var
2 parents 0c03390 + 5735ffe commit bc7bb0d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pgt-web-app",
3-
"version": "0.1.5",
3+
"version": "0.1.6",
44
"private": true,
55
"type": "module",
66
"scripts": {

src/middleware.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { NextRequest } from "next/server";
33
import { verifyToken } from "./lib/auth/jwt";
44

55
const getBaseUrl = () => {
6-
return process.env.NEXT_PUBLIC_APP_URL;
6+
return process.env.NEXT_APP_URL;
77
};
88

99
export const config = {

0 commit comments

Comments
 (0)