Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Commit

Permalink
Merge pull request #15 from pagopa/175897066_add_deploy_pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Emanuele De Cupis authored Feb 4, 2021
2 parents bed3c71 + 392e49e commit 071b534
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .devops/deploy-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ stages:
parameters:
azureSubscription: '$(PRODUCTION_AZURE_SUBSCRIPTION)'
appName: '$(PRODUCTION_APP_NAME)'
endpoint: 'https://$(PRODUCTION_APP_NAME)-staging.azurewebsites.net/template/info'
endpoint: 'https://$(PRODUCTION_APP_NAME)-staging.azurewebsites.net/api/v1/cgn/info'
endpointType: 'private'
containerInstanceResourceGroup: 'io-p-rg-common'
containerInstanceVNet: 'io-p-vnet-common'
Expand Down
2 changes: 1 addition & 1 deletion Info/function.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "httpTrigger",
"direction": "in",
"name": "req",
"route": "template/info",
"route": "api/v1/cgn/info",
"methods": [
"get"
]
Expand Down
2 changes: 1 addition & 1 deletion Info/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const app = express();
secureExpressApp(app);

// Add express route
app.get("/template/info", Info());
app.get("api/v1/cgn/info", Info());

const azureFunctionHandler = createAzureFunctionHandler(app);

Expand Down

0 comments on commit 071b534

Please sign in to comment.