Skip to content

Commit

Permalink
Merge pull request #5 from alexanderscheibler/site
Browse files Browse the repository at this point in the history
feat: add CNAME
  • Loading branch information
alexanderscheibler authored Oct 27, 2024
2 parents ec63ea4 + 928375a commit 48561e8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5,728 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
run: yarn install --frozen-lockfile
- name: Build Next.js
run: yarn build
- name: Copy CNAME file
run: cp public/CNAME out/
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ const nextConfig: NextConfig = {
NEXT_PUBLIC_MOCK_ITEMS: process.env.NEXT_PUBLIC_MOCK_ITEMS,
},

assetPrefix: process.env.NODE_ENV === 'production' ? '/appcheckwizard.com' : '',
basePath: process.env.NODE_ENV === 'production' ? '/appcheckwizard.com' : '',
assetPrefix: process.env.NODE_ENV === 'production' ? 'https://www.appcheckwizard.com' : '',
basePath: process.env.NODE_ENV === 'production' ? 'https://www.appcheckwizard.com' : '',
output: 'export',
images: {
unoptimized: true,
Expand Down
Loading

0 comments on commit 48561e8

Please sign in to comment.