Skip to content

Commit

Permalink
revert vite server port switch
Browse files Browse the repository at this point in the history
  • Loading branch information
Da-Colon committed Jul 13, 2024
1 parent 3f16fa8 commit 4d75204
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[dev]
command = "vite --force" # This starts your Vite server
targetPort = 8888 # Vite server should run on this port
port = 3000 # Netlify Dev will proxy this port
targetPort = 3000 # Vite server should run on this port
port = 8888 # Netlify Dev will proxy this port
2 changes: 1 addition & 1 deletion vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import packageJson from './package.json';
export default defineConfig({
plugins: [react(), checker({ typescript: true })],
server: {
port: 8888,
port: 3000,
},
build: {
sourcemap: true,
Expand Down

0 comments on commit 4d75204

Please sign in to comment.