Selaa lähdekoodia

feat(examples/api): use strict port (#5013)

Amr Bashir 3 vuotta sitten
vanhempi
sitoutus
2b846f413c
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      examples/api/vite.config.js

+ 2 - 0
examples/api/vite.config.js

@@ -18,6 +18,8 @@ export default defineConfig(async ({ command, mode }) => {
       }
     },
     server: {
+      port: 5173,
+      strictPort: true,
       hmr: {
         host,
         port: 5183