diff --git a/_local.tf b/_local.tf index fad1ef2..d509919 100644 --- a/_local.tf +++ b/_local.tf @@ -52,10 +52,6 @@ locals { name = "NBS_PUB_KEY", value = var.ecr_viewer_auth_pub_key }, - { - name = "NEXT_PUBLIC_BASEPATH", - value = var.ecr_viewer_basepath - }, { name = "METADATA_DATABASE_TYPE", value = local.database_data.non_integrated_viewer == "true" ? local.database_data.metadata_database_type : "" @@ -187,7 +183,7 @@ locals { }, { name = "ECR_VIEWER_URL", - value = "http://ecr-viewer:3000${var.ecr_viewer_basepath}" + value = "http://ecr-viewer:3000/ecr-viewer" }, { name = "MESSAGE_PARSER_URL", diff --git a/_variable.tf b/_variable.tf index e05cd40..20eee1c 100644 --- a/_variable.tf +++ b/_variable.tf @@ -188,12 +188,6 @@ variable "tags" { default = {} } -variable "ecr_viewer_basepath" { - type = string - description = "The basepath for the ecr-viewer" - default = "/ecr-viewer" -} - variable "ecr_viewer_app_env" { type = string description = "The current environment that is running. This may modify behavior of auth between dev and prod."