-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
landing page redirect #249
Changes from 1 commit
004873d
8ec40f0
1a3c34f
8052a09
66eba45
b4ee4fe
6cee091
4e79533
513656f
5bee98a
9e2b197
fbfad39
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. app/client still has a package-lock. it should use a pnpm-lock |
Large diffs are not rendered by default.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please restore file as land-registry-backend uses npm. its /app/client that uses pnpm |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ import { config } from "./config"; | |
const app = express(); | ||
|
||
// Middleware | ||
app.use(helmet()); | ||
// app.use(helmet()); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i noticed you commented out this line. might i ask why? |
||
app.use( | ||
cors({ | ||
origin: config.corsOrigins, | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import axios from "axios"; | ||
|
||
export const api = axios.create({ | ||
baseURL: process.env.NEXT_PUBLIC_API_URL, | ||
baseURL: 'http://localhost:3000', | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please dont hardcode the base url |
||
headers: { | ||
"Content-Type": "application/json", | ||
}, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// import { NextResponse, NextRequest } from 'next/server' | ||
|
||
// export function middleware(request: NextRequest) { | ||
|
||
// const accessToken = request.cookies.get('access-token') | ||
|
||
// console.log( accessToken ) | ||
|
||
// const response = NextResponse.next() | ||
|
||
// response.cookies.set('access-token', 'Your secret token') | ||
|
||
// return response | ||
// } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please we use pnpm instead of npm for app/client.kindly revert