Skip to content

Commit

Permalink
Added somemore stuff new
Browse files Browse the repository at this point in the history
  • Loading branch information
kyrea committed Aug 7, 2023
1 parent 693b0c8 commit bf61295
Show file tree
Hide file tree
Showing 20 changed files with 62 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if (process.env.LOGGER === 'true') {
app.use(routes);

// Serve Next.js static files from the frontend folder
app.use('/', express.static(path.join(__dirname, '../website/.next')));
app.use('/', express.static(path.join(__dirname, '../website/out')));

// Handle server-side rendering for Next.js pages
app.get('*', (req, res) => {
Expand Down
1 change: 0 additions & 1 deletion website/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

# next.js
/.next/
/out/

# production
/build
Expand Down
1 change: 1 addition & 0 deletions website/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const dotenv = require('dotenv')

dotenv.config({ path: require('find-config')('.env') })
const nextConfig = {
output: 'export',
reactStrictMode: true,
env: {
MONGODB_URI: process.env.MONGODB_URI,
Expand Down
1 change: 1 addition & 0 deletions website/out/_next/static/chunks/22-4f2277ae69fb6884.js

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions website/out/_next/static/chunks/925-6895b544b4a87187.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions website/out/_next/static/chunks/framework-7a7e500878b44665.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions website/out/_next/static/chunks/main-92011a1a7f336a6f.js

Large diffs are not rendered by default.

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.

Loading

0 comments on commit bf61295

Please sign in to comment.