Allow console logging when starting dev server
This commit is contained in:
parent
20e6cbc1a2
commit
4aee0de945
1 changed files with 2 additions and 0 deletions
|
|
@ -21,6 +21,8 @@ export default defineConfig(({ command, mode }) => {
|
|||
} else {
|
||||
throw new Error(`Invalid VITE_API_TARGET: ${env.VITE_API_TARGET}`);
|
||||
}
|
||||
// Allow a console log as we were serving for development.
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(`Proxying /api → ${target}`);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue