Skip to content

Commit 0bd33ec

Browse files
fix: onclick deployment issue fix (#1870)
1 parent 049836a commit 0bd33ec

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

infra/app/function.bicep

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ module function '../core/host/functions.bicep' = {
2727
runtimeVersion: runtimeVersion
2828
dockerFullImageName: dockerFullImageName
2929
managedIdentity: !empty(keyVaultName)
30-
appSettings: appSettings
30+
appSettings: union(appSettings, {
31+
WEBSITES_ENABLE_APP_SERVICE_STORAGE: 'false'
32+
})
3133
}
3234
}
3335

infra/main.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"_generator": {
66
"name": "bicep",
77
"version": "0.36.1.42791",
8-
"templateHash": "11323213671656453502"
8+
"templateHash": "6566430506441917064"
99
}
1010
},
1111
"parameters": {
@@ -7804,7 +7804,7 @@
78047804
"_generator": {
78057805
"name": "bicep",
78067806
"version": "0.36.1.42791",
7807-
"templateHash": "15907054814625845900"
7807+
"templateHash": "8495509026134584506"
78087808
}
78097809
},
78107810
"parameters": {
@@ -7928,7 +7928,7 @@
79287928
"value": "[not(empty(parameters('keyVaultName')))]"
79297929
},
79307930
"appSettings": {
7931-
"value": "[parameters('appSettings')]"
7931+
"value": "[union(parameters('appSettings'), createObject('WEBSITES_ENABLE_APP_SERVICE_STORAGE', 'false'))]"
79327932
}
79337933
},
79347934
"template": {
@@ -9003,7 +9003,7 @@
90039003
"_generator": {
90049004
"name": "bicep",
90059005
"version": "0.36.1.42791",
9006-
"templateHash": "15907054814625845900"
9006+
"templateHash": "8495509026134584506"
90079007
}
90089008
},
90099009
"parameters": {
@@ -9127,7 +9127,7 @@
91279127
"value": "[not(empty(parameters('keyVaultName')))]"
91289128
},
91299129
"appSettings": {
9130-
"value": "[parameters('appSettings')]"
9130+
"value": "[union(parameters('appSettings'), createObject('WEBSITES_ENABLE_APP_SERVICE_STORAGE', 'false'))]"
91319131
}
91329132
},
91339133
"template": {

0 commit comments

Comments
 (0)