diff --git a/aws/.terraform.lock.hcl b/aws/.terraform.lock.hcl index 3bfeef1..03b147e 100644 --- a/aws/.terraform.lock.hcl +++ b/aws/.terraform.lock.hcl @@ -5,6 +5,7 @@ provider "registry.terraform.io/hashicorp/archive" { version = "2.4.2" hashes = [ "h1:G4v6F6Lhqlo3EKGBKEK/kJRhNcQiRrhEdUiVpBHKHOA=", + "h1:qGT7b3uJm78Rb2YY7fFrY42a3bsi0Xbr2ghshaGqTms=", "zh:08faed7c9f42d82bc3d406d0d9d4971e2d1c2d34eae268ad211b8aca57b7f758", "zh:3564112ed2d097d7e0672378044a69b06642c326f6f1584d81c7cdd32ebf3a08", "zh:53cd9afd223c15828c1916e68cb728d2be1cbccb9545568d6c2b122d0bac5102", @@ -25,6 +26,7 @@ provider "registry.terraform.io/hashicorp/aws" { constraints = "5.37.0" hashes = [ "h1:6qJfvyWObjLPoUrEC8kNVAJ1ZFFrIgzC1xprMkkoSjo=", + "h1:o6f/hNLxrONTw/QlRbBVctdXNI2aSfrght4wtng6rOU=", "zh:00f40a3d9593476693a7a72d993fd289f7be374fe3f2799776c6296eb6ff890a", "zh:1010a9fbf55852a8da3473de4ec0f1fcf29efa85d66f61cbe2b086dbbd7747ae", "zh:103a5674d1eb1cff05fe35e9baa9875afd18d740868b63f9c0c25eadb5eb4eb7", diff --git a/aws/royals/task-definition.tftpl b/aws/royals/task-definition.tftpl index 6806cd7..f9fac87 100644 --- a/aws/royals/task-definition.tftpl +++ b/aws/royals/task-definition.tftpl @@ -33,7 +33,7 @@ }, { "name": "CDN_BASE_URL", - "value": "${cnd_base_url}" + "value": "${cdn_base_url}" } ], "logConfiguration": { diff --git a/frontend/next.config.js b/frontend/next.config.js index fb33fdf..33a8d4b 100644 --- a/frontend/next.config.js +++ b/frontend/next.config.js @@ -9,7 +9,7 @@ const nextConfig = { remotePatterns: [ { protocol: process.env.NODE_ENV === 'production' ? 'https' : 'http', - hostname: process.env.NEXT_PUBLIC_CDN_HOST, + hostname: process.env.NEXT_PUBLIC_CDN_HOST ?? 'example.com', port: process.env.NODE_ENV === 'production' ? undefined : '9000' } ]