Skip to content

Commit

Permalink
Fix 'Expected number, received nan' error
Browse files Browse the repository at this point in the history
  • Loading branch information
avonbied committed Oct 12, 2023
1 parent b426672 commit cbb7884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default defineConfig({
site: 'https://avonbied.github.io',
integrations: [sitemap()],
server: {
port: (+process.env.PORT ?? 8080),
port: Number(process.env.PORT ?? 8080),
host: true,
},
vite: {
Expand Down

0 comments on commit cbb7884

Please sign in to comment.