Skip to content

Commit 380db70

Browse files
committed
fix(shadowsocks-service): fixed build without local-http (#2057)
1 parent abef33c commit 380db70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/shadowsocks-service/src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ pub struct LocalConfig {
10461046
pub socks5_auth: Socks5AuthConfig,
10471047

10481048
/// HTTP Authentication configuration
1049-
#[cfg(feature = "local")]
1049+
#[cfg(feature = "local-http")]
10501050
pub http_auth: HttpAuthConfig,
10511051

10521052
/// Fake DNS record expire seconds

0 commit comments

Comments
 (0)