File tree 3 files changed +2
-5
lines changed
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"
142
142
assets-url = " https://github.com/parseablehq/console/releases/download/v0.9.18/build.zip"
143
143
assets-sha1 = " 4516db38c8e556707b29b33569f9b1e53d5165f2"
144
144
145
- [features ]
146
- debug = []
147
-
148
145
[profile .release-lto ]
149
146
inherits = " release"
150
147
lto = " fat"
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ LABEL org.opencontainers.image.licenses="AGPL-3.0"
23
23
24
24
WORKDIR /parseable
25
25
COPY . .
26
- RUN cargo build --features debug
26
+ RUN cargo build
27
27
28
28
# final stage
29
29
FROM docker.io/debian:bookworm-slim
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ pub fn metrics_path() -> String {
56
56
}
57
57
58
58
pub ( crate ) fn cross_origin_config ( ) -> Cors {
59
- if !CONFIG . options . cors || cfg ! ( feature = "debug" ) {
59
+ if !CONFIG . options . cors || cfg ! ( debug_assertions ) {
60
60
Cors :: permissive ( ) . block_on_origin_mismatch ( false )
61
61
} else {
62
62
Cors :: default ( ) . block_on_origin_mismatch ( false )
You can’t perform that action at this time.
0 commit comments