mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-09 06:55:03 +00:00
chore: fix minor runtime warnings (#6518)
This commit is contained in:
@@ -76,10 +76,10 @@ async function transformBrunoConfigAfterRead(brunoConfig, collectionPathname) {
|
||||
|
||||
// Migrate proxy configuration from old format to new format
|
||||
if (brunoConfig.proxy) {
|
||||
const proxy = brunoConfig.proxy;
|
||||
const proxy = brunoConfig.proxy || {};
|
||||
|
||||
// Check if this is an old format (has 'enabled' property)
|
||||
if ('enabled' in proxy) {
|
||||
if (proxy.hasOwnProperty('enabled')) {
|
||||
const enabled = proxy.enabled;
|
||||
|
||||
let newProxy = {
|
||||
|
||||
Reference in New Issue
Block a user