diff --git a/Cargo.lock b/Cargo.lock index a85b311..ff1f378 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1642,7 +1642,7 @@ dependencies = [ [[package]] name = "pict-rs" -version = "0.4.0" +version = "0.4.1" dependencies = [ "actix-form-data", "actix-rt", diff --git a/Cargo.toml b/Cargo.toml index 777c80b..9cea936 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "pict-rs" description = "A simple image hosting service" -version = "0.4.0" +version = "0.4.1" authors = ["asonix "] license = "AGPL-3.0" readme = "README.md" diff --git a/docker/prod/docker-compose.yml b/docker/prod/docker-compose.yml index 19892e6..4472ebe 100644 --- a/docker/prod/docker-compose.yml +++ b/docker/prod/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.3' services: pictrs: - image: asonix/pictrs:0.4.0 + image: asonix/pictrs:0.4.1 ports: - "127.0.0.1:8080:8080" restart: always diff --git a/pict-rs.nix b/pict-rs.nix index 08be362..85c9f1c 100644 --- a/pict-rs.nix +++ b/pict-rs.nix @@ -12,7 +12,7 @@ rustPlatform.buildRustPackage { pname = "pict-rs"; - version = "0.4.0"; + version = "0.4.1"; src = ./.; cargoLock = { diff --git a/pict-rs.toml b/pict-rs.toml index 95688ea..caf65b1 100644 --- a/pict-rs.toml +++ b/pict-rs.toml @@ -69,7 +69,7 @@ targets = 'warn,tracing_actix_web=info,actix_server=info,actix_web=info' # # services: # pictrs: -# image: asonix/pictrs:0.4.0 +# image: asonix/pictrs:0.4.1 # ports: # - "127.0.0.1:8080:8080" # - "127.0.0.1:6669:6669" # this is the line that exposes console diff --git a/src/lib.rs b/src/lib.rs index 46b567c..8f1e269 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1101,7 +1101,7 @@ fn build_client() -> awc::Client { Client::builder() .connector(connector) .wrap(Tracing) - .add_default_header(("User-Agent", "pict-rs v0.4.0-main")) + .add_default_header(("User-Agent", "pict-rs v0.4.1")) .timeout(Duration::from_secs(30)) .finish() }