Skip to content
Snippets Groups Projects
  • dpsutton's avatar
    fc02e165
    Revert "`clj -M:run` should not think it's running in `:dev` mode (#30004)" (#30043) · fc02e165
    dpsutton authored
    This reverts commit 8a11e382.
    
    The namespace `metabase.server.middleware.security` controls our content
    security policy header. In dev we allow connections to 8080 for webpack
    assets. Not dev we deny these.
    
    `clj -M:run` is dev since it is running the project from source, not a
    jar. This `mb.run.mode` was removed when we were fighting require issues
    for `metabase.query-processor-test.test-mlv2`. That's solved so we can
    restore the dev property to `:run`.
    fc02e165
    History
    Revert "`clj -M:run` should not think it's running in `:dev` mode (#30004)" (#30043)
    dpsutton authored
    This reverts commit 8a11e382.
    
    The namespace `metabase.server.middleware.security` controls our content
    security policy header. In dev we allow connections to 8080 for webpack
    assets. Not dev we deny these.
    
    `clj -M:run` is dev since it is running the project from source, not a
    jar. This `mb.run.mode` was removed when we were fighting require issues
    for `metabase.query-processor-test.test-mlv2`. That's solved so we can
    restore the dev property to `:run`.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.