Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
chore: bump version in webapp server (#4795)
Shreyasd4125ffd7b65
diff --git a/packages/hoppscotch-selfhost-web/webapp-server/src/bundle/model.rs b/packages/hoppscotch-selfhost-web/webapp-server/src/bundle/model.rsindex 1620c9f14..17f4fa9a8 100644--- a/packages/hoppscotch-selfhost-web/webapp-server/src/bundle/model.rs+++ b/packages/hoppscotch-selfhost-web/webapp-server/src/bundle/model.rs@@ -47,7 +47,7 @@ pub struct Bundle {impl Bundle {pub fn new(bundle_version: Option<String>, content: Vec<u8>, signature: Signature, files: Vec<FileEntry>) -> Self {let metadata = BundleMetadata {- version: bundle_version.unwrap_or_else(|| env!("CARGO_PKG_VERSION").to_string()),+ version: "2025.2.0".to_string(),created_at: Utc::now(),signature,manifest: Manifest { files },diff --git a/packages/hoppscotch-selfhost-web/webapp-server/src/config.rs b/packages/hoppscotch-selfhost-web/webapp-server/src/config.rsindex 51948f2b1..5510ac653 100644--- a/packages/hoppscotch-selfhost-web/webapp-server/src/config.rs+++ b/packages/hoppscotch-selfhost-web/webapp-server/src/config.rs@@ -54,7 +54,7 @@ impl Default for ServerConfig {Self {port: default_port(),max_bundle_size: default_max_bundle_size(),- bundle_version: None,+ bundle_version: Some("2025.2.0".to_string()),csp_directives: None,signing_key: None,verifying_key: None,@@ -75,7 +75,7 @@ impl ServerConfig {Self {signing_key: Some(key_pair.signing_key),verifying_key: Some(key_pair.verifying_key),- bundle_version: std::env::var("WEBAPP_BUNDLE_VERSION").ok(),+ bundle_version: Some("2025.2.0".to_string()),frontend_path,is_dev: cfg!(debug_assertions),..Default::default()