Skip to content

Commit

Permalink
added shared folder
Browse files Browse the repository at this point in the history
  • Loading branch information
RamanSharma100 committed Oct 17, 2022
1 parent 54a89bc commit 7735574
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export async function getServerSideProps() {
// console.log(__dirname);
const directoryPath = path.join(
getConfig().serverRuntimeConfig.PROJECT_ROOT,
'/data'
process.env.NODE_ENV === 'production' ? '/shared/data' : '/shared/data'
);
const fileNames = [],
filesData = [];
Expand Down
File renamed without changes.
File renamed without changes.

1 comment on commit 7735574

@vercel
Copy link

@vercel vercel bot commented on 7735574 Oct 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

gdsclpu-tree – ./

gdsclpu-tree-gdsclpu.vercel.app
gdsclpu-tree.vercel.app
gdsclpu-tree-git-main-gdsclpu.vercel.app

Please sign in to comment.