Skip to content

Commit

Permalink
Prefix OVERWRITE_FILES env var
Browse files Browse the repository at this point in the history
Fixes #1457.
  • Loading branch information
svenstaro committed Oct 11, 2024
1 parent 0407fad commit bc6e1f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased] - ReleaseDate
- Make URL encoding fully WHATWG-compliant [#1454](https://github.com/svenstaro/miniserve/pull/1454) (thanks @cyqsimon)
- Fix `OVERWRITE_FILES` env var not being prefixed by `MINISERVE_` [#1457](https://github.com/svenstaro/miniserve/issues/1457)

## [0.28.0] - 2024-09-12
- Fix wrapping text in mobile view when the file name too long [#1379](https://github.com/svenstaro/miniserve/pull/1379) (thanks @chaibiq)
Expand Down
2 changes: 1 addition & 1 deletion src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ pub struct CliArgs {
pub media_type_raw: Option<String>,

/// Enable overriding existing files during file upload
#[arg(short = 'o', long = "overwrite-files", env = "OVERWRITE_FILES")]
#[arg(short = 'o', long = "overwrite-files", env = "MINISERVE_OVERWRITE_FILES")]
pub overwrite_files: bool,

/// Enable uncompressed tar archive generation
Expand Down

0 comments on commit bc6e1f9

Please sign in to comment.