chore: sync latest dashboard and role flow updates
This commit is contained in:
parent
5451ff5657
commit
f9995586e2
2 changed files with 7 additions and 1 deletions
|
|
@ -81,6 +81,11 @@ impl Services {
|
|||
|| path.starts_with("/api/kb")
|
||||
|| path.starts_with("/api/packages")
|
||||
|| path.starts_with("/api/support")
|
||||
|| path.starts_with("/api/admin/roles")
|
||||
|| path.starts_with("/api/admin/external-roles")
|
||||
|| path.starts_with("/api/admin/dashboard-config")
|
||||
|| path.starts_with("/api/admin/onboarding-config")
|
||||
|| path.starts_with("/api/admin/dashboard")
|
||||
|| path.starts_with("/api/admin/kb")
|
||||
|| path.starts_with("/api/admin/support-cases")
|
||||
|| path.starts_with("/api/admin/reviews")
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
//! B2_USE_PATH_STYLE — true/false (default true)
|
||||
|
||||
use anyhow::{Context, Result};
|
||||
use aws_config::Region;
|
||||
use aws_config::{BehaviorVersion, Region};
|
||||
use aws_credential_types::Credentials;
|
||||
use aws_sdk_s3::Client;
|
||||
use aws_sdk_s3::config::{Builder as S3ConfigBuilder, SharedCredentialsProvider};
|
||||
|
|
@ -54,6 +54,7 @@ impl StorageClient {
|
|||
let public_base_url = format!("https://{}/{}", endpoint, bucket);
|
||||
|
||||
let s3_config = S3ConfigBuilder::new()
|
||||
.behavior_version(BehaviorVersion::latest())
|
||||
.endpoint_url(endpoint_url)
|
||||
.region(Region::new(region))
|
||||
.credentials_provider(SharedCredentialsProvider::new(creds))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue