mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Currently flutter run -d web creates a server with the x-frame-options: SAMEORIGIN added by default (shelf add it's by default). This doesn't allow you to use it inside a frame. I am trying to build an embedded simulator in vscode and it requires using an iframe. With this PR I remove the header for debug and profile mode.