Skip to content

Commit 1291ffa

Browse files
committed
update web app to node.js since react app uses that to build
1 parent a57646a commit 1291ffa

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Labs/deploy/azuredeploy.bicep

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ var appServiceSettings = {
104104
}
105105
web: {
106106
name: '${name}-web'
107-
pythonVersion: '3.11'
108107
/*
109108
git: {
110109
repo: appGitRepository
@@ -114,7 +113,6 @@ var appServiceSettings = {
114113
}
115114
api: {
116115
name: '${name}-api'
117-
pythonVersion: '3.11'
118116
/*
119117
git: {
120118
repo: appGitRepository
@@ -248,7 +246,7 @@ resource appServiceWeb 'Microsoft.Web/sites@2022-03-01' = {
248246
serverFarmId: appServicePlan.id
249247
httpsOnly: true
250248
siteConfig: {
251-
pythonVersion: appServiceSettings.web.pythonVersion
249+
linuxFxVersion: 'NODE|20-lts'
252250
}
253251
}
254252
}
@@ -320,7 +318,7 @@ resource appServiceFunction 'Microsoft.Web/sites@2022-03-01' = {
320318
serverFarmId: appServicePlan.id
321319
httpsOnly: true
322320
siteConfig: {
323-
pythonVersion: appServiceSettings.api.pythonVersion
321+
pythonVersion: '3.11'
324322
alwaysOn: true
325323
cors: {
326324
allowedOrigins: [

0 commit comments

Comments
 (0)