From 2b846f413cea59fd95e4731302888308db059e0a Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Tue, 23 Aug 2022 17:40:02 +0200 Subject: [PATCH] feat(examples/api): use strict port (#5013) --- examples/api/vite.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/api/vite.config.js b/examples/api/vite.config.js index 9157d89bb..c5d66fbbc 100644 --- a/examples/api/vite.config.js +++ b/examples/api/vite.config.js @@ -18,6 +18,8 @@ export default defineConfig(async ({ command, mode }) => { } }, server: { + port: 5173, + strictPort: true, hmr: { host, port: 5183