mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 08:05:55 +08:00
fix the wrong env variable AZURE_BLOB_CONTAINER_NAME (#4455)
This commit is contained in:
parent
d8f38f79f2
commit
bdd409970f
@ -14,7 +14,7 @@ class AzureStorage(BaseStorage):
|
|||||||
def __init__(self, app: Flask):
|
def __init__(self, app: Flask):
|
||||||
super().__init__(app)
|
super().__init__(app)
|
||||||
app_config = self.app.config
|
app_config = self.app.config
|
||||||
self.bucket_name = app_config.get('AZURE_STORAGE_CONTAINER_NAME')
|
self.bucket_name = app_config.get('AZURE_BLOB_CONTAINER_NAME')
|
||||||
sas_token = generate_account_sas(
|
sas_token = generate_account_sas(
|
||||||
account_name=app_config.get('AZURE_BLOB_ACCOUNT_NAME'),
|
account_name=app_config.get('AZURE_BLOB_ACCOUNT_NAME'),
|
||||||
account_key=app_config.get('AZURE_BLOB_ACCOUNT_KEY'),
|
account_key=app_config.get('AZURE_BLOB_ACCOUNT_KEY'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user