File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -142,9 +142,6 @@ arrow = "53.0.0"
142142assets-url = " https://github.com/parseablehq/console/releases/download/v0.9.18/build.zip"
143143assets-sha1 = " 4516db38c8e556707b29b33569f9b1e53d5165f2"
144144
145- [features ]
146- debug = []
147-
148145[profile .release-lto ]
149146inherits = " release"
150147lto = " fat"
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ LABEL org.opencontainers.image.licenses="AGPL-3.0"
2323
2424WORKDIR /parseable
2525COPY . .
26- RUN cargo build --features debug
26+ RUN cargo build
2727
2828# final stage
2929FROM docker.io/debian:bookworm-slim
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ pub fn metrics_path() -> String {
5656}
5757
5858pub ( crate ) fn cross_origin_config ( ) -> Cors {
59- if !CONFIG . options . cors || cfg ! ( feature = "debug" ) {
59+ if !CONFIG . options . cors || cfg ! ( debug_assertions ) {
6060 Cors :: permissive ( ) . block_on_origin_mismatch ( false )
6161 } else {
6262 Cors :: default ( ) . block_on_origin_mismatch ( false )
You can’t perform that action at this time.
0 commit comments