generated from Luis/nextjs-python-web-template
Fixed ui openapi.json bug. Reverted buildDir settings
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
const nextConfig = {
|
||||
output: "export",
|
||||
images: { unoptimized: true },
|
||||
distDir: "build",
|
||||
eslint: {
|
||||
dirs: ["src"],
|
||||
},
|
||||
|
||||
@@ -25,7 +25,7 @@ pkgs.mkShell {
|
||||
export NEXT_BUILD_ID=$(git log -1 --pretty=format:"%H")
|
||||
|
||||
# re-generate the api code
|
||||
rm -f openapi.json
|
||||
rm -f --interactive=never openapi.json
|
||||
rm -rf src/api
|
||||
cp ${clanPkgs.clan-openapi}/openapi.json .
|
||||
orval
|
||||
|
||||
Reference in New Issue
Block a user