BrowserSync / browser-sync

Keep multiple browsers & devices in sync when building websites. https://browsersync.io
https://discord.gg/2d2xUThp
Apache License 2.0
12.14k stars 754 forks source link

cant read any cookies using JS with BS Proxy #2049

Open wdssmq opened 10 months ago

wdssmq commented 10 months ago

The value of document.cookie is empty

module.exports = {
  // CLI --ignore parameter cant use arr 
  "ignore": ["**\/bin\/*.*","**\/cache\/*.*","**\/usr\/*.*"],
  "files": false,
  "proxy": false,
  // "logLevel": "debug",
  "logFileChanges": true,
};
browser-sync start --config "/home/wdssmq/Git/plugin/mz_BrowserSync/usr/bs-config.js" --proxy "http://127.0.0.1:8081/" \
--cwd "/home/wdssmq/Git" \
--files "plugin/**/*.css, plugin/**/*.html, plugin/**/*.js, plugin/**/*.php

20230901121632

1987