Skip to content

Commit

Permalink
fix(site): cloudflare page
Browse files Browse the repository at this point in the history
  • Loading branch information
uonr committed Dec 12, 2024
1 parent 30df3e8 commit 7dd29cc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.
**/storybook-static
.vercel/output/
**/.vercel/output/
.bin/
/media
docker-compose.override.yml
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions .vercel/project.json → apps/site/.vercel/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"settings": {
"framework": "nextjs",
"rootDirectory": null,
"outputDirectory": "apps/site/.next",
"buildCommand": "npm run build:site"
"outputDirectory": null,
"buildCommand": "npm run --include-workspace-root build:site --if-present"
}
}
4 changes: 0 additions & 4 deletions apps/site/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,13 @@ const config = {
eslint: {
dirs: ['src', 'tests'],
},
output: 'standalone',
env: {
PUBLIC_MEDIA_URL: process.env.PUBLIC_MEDIA_URL,
BACKEND_URL: process.env.BACKEND_URL,
APP_URL: process.env.APP_URL,
DOMAIN: process.env.DOMAIN,
},
transpilePackages: ['@boluo/ui', '@boluo/common'],
experimental: {
outputFileTracingRoot: path.join(__dirname, '../../'),
},
rewrites,
webpack: (config) => {
// `react-intl` without parser
Expand Down

0 comments on commit 7dd29cc

Please sign in to comment.