• Jaime Blasco's avatar
    [flutter_tool] [web] Remove x-frame-options header during debug (#62115) · 0699c18e
    Jaime Blasco authored
    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.
    0699c18e
Name
Last commit
Last update
..
bin Loading commit data...
doc Loading commit data...
gradle Loading commit data...
ide_templates/intellij Loading commit data...
lib Loading commit data...
schema Loading commit data...
static Loading commit data...
templates Loading commit data...
test Loading commit data...
tool Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
build.yaml Loading commit data...
dart_test.yaml Loading commit data...
pubspec.yaml Loading commit data...