Skip to content

Commit

Permalink
Make new-app the whole static site
Browse files Browse the repository at this point in the history
  • Loading branch information
hallipr committed Mar 24, 2024
1 parent 3aee4cc commit dc4f723
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ try {
$outFolder = New-Item -ItemType Directory -Path $outFolder

Write-Host "Copy react site to build/new-app folder"
Copy-Item -Path "./new-app/out" -Destination "$outFolder" -Recurse -Force | Out-Null
Copy-Item -Path "./new-app/out/*" -Destination "$outFolder" -Recurse -Force | Out-Null
}
finally {
Pop-Location
Expand Down
4 changes: 2 additions & 2 deletions new-app/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
basePath: process.env.basePath,
basePath: process.env.basePath ?? "",
env: {
basePath: process.env.basePath,
basePath: process.env.basePath ?? "",
},
};

Expand Down

0 comments on commit dc4f723

Please sign in to comment.