Skip to content

Commit

Permalink
Update vite.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Feb 23, 2024
1 parent 7b03b60 commit be9307a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default defineConfig({
Press({
baseUrl: process.env.NODE_ENV === 'development'
? 'https://localhost:5173'
: fs.existsSync('public/CNAME') ? fs.readFileSync('public/CNAME', 'utf-8').trim() : undefined,
: fs.existsSync('public/CNAME') ? 'https://' + fs.readFileSync('public/CNAME', 'utf-8').trim() : undefined,
metadataPath: 'public/api',
}),
Layouts(),
Expand Down

0 comments on commit be9307a

Please sign in to comment.