• 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
..
commands.shard Loading commit data...
data Loading commit data...
general.shard Loading commit data...
integration.shard Loading commit data...
src Loading commit data...
template_test.dart Loading commit data...