Skip to content

Commit

Permalink
add STRAPI_API_URL to web env
Browse files Browse the repository at this point in the history
  • Loading branch information
kahlstrm committed Jan 23, 2024
1 parent c765ad7 commit 22d90f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/m0/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ resource "azurerm_linux_web_app" "frontend" {
PAYTRAIL_SECRET_KEY = "SAIPPUAKAUPPIAS"
CALLBACK_URL = "https://${local.fqdn}/api/verifyPaymentCallback"
# Web auth
STRAPI_TOKEN = var.strapi_token
STRAPI_URL = "https://${azurerm_linux_web_app.strapi.default_hostname}"
STRAPI_TOKEN = var.strapi_token
STRAPI_URL = "https://${azurerm_linux_web_app.strapi.default_hostname}"
STRAPI_API_URL = "https://${azurerm_linux_web_app.strapi.default_hostname}"

}
}
Expand Down

0 comments on commit 22d90f1

Please sign in to comment.