Skip to content

Commit

Permalink
Update ilmo URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
PurkkaKoodari committed Aug 14, 2024
1 parent 8335fa2 commit d3612ad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ module "ilmo" {
auth_jwt_secret = module.keyvault.secrets["ilmo-auth-jwt-secret"]
mailgun_api_key = module.keyvault.secrets["ilmo-mailgun-api-key"]
mailgun_domain = module.keyvault.secrets["ilmo-mailgun-domain"]
website_events_url = "https://ilmo.tietokilta.fi"
website_url = "https://tietokilta.fi"
tikweb_app_plan_id = module.common.tikweb_app_plan_id
tikweb_rg_location = module.common.resource_group_location
tikweb_rg_name = module.common.resource_group_name
Expand Down
6 changes: 3 additions & 3 deletions modules/ilmo/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ resource "azurerm_linux_web_app" "ilmo_backend" {
ALLOW_ORIGIN = "*"

# Paths from tikweb-web
BASE_URL = var.website_events_url
EVENT_DETAILS_URL = "${var.website_events_url}/events/{slug}"
EDIT_SIGNUP_URL = "${var.website_events_url}/signup/{id}/{editToken}"
BASE_URL = var.website_url
EVENT_DETAILS_URL = "${var.website_url}/fi/events/{slug}"
EDIT_SIGNUP_URL = "${var.website_url}/fi/signups/{id}/{editToken}"

BRANDING_MAIL_FOOTER_TEXT = "Ilmomasiina"
BRANDING_MAIL_FOOTER_LINK = var.website_events_url
Expand Down
2 changes: 1 addition & 1 deletion modules/ilmo/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ variable "mailgun_domain" {
type = string
}

variable "website_events_url" {
variable "website_url" {
type = string
}

Expand Down

0 comments on commit d3612ad

Please sign in to comment.