Update vite to have proper routing for api

This commit is contained in:
Joey Yakimowich-Payne 2023-08-10 10:26:16 -06:00
commit 4842cef07a
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1
5 changed files with 37 additions and 29 deletions

View file

@ -34,7 +34,7 @@ const config: PlaywrightTestConfig = {
/* Maximum time each action such as `click()` can take. Defaults to 0 (no limit). */
actionTimeout: 0,
/* Base URL to use in actions like `await page.goto('/')`. */
baseURL: 'http://localhost:5173',
baseURL: 'http://127.0.0.1:5173',
/* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
trace: 'on-first-retry',