belt 0.3.9 → 0.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cb97d1bbffa15fdcef437f66a609cc7904e7ee23b57572a180c4708cf615d75
4
- data.tar.gz: 4df2159c5162fecf0e24791ef157169f0ec54970c2c6d9709ff68898d8cfd698
3
+ metadata.gz: b159c6faf59bf1961bf61d4b69af8ebc3a017cceccb88d74b53c74fc12c62796
4
+ data.tar.gz: c9f414838a3a51bf70a923f4e76de53eeb040a2f685716047ccbcda49962dfa9
5
5
  SHA512:
6
- metadata.gz: a2ebfb5e790b3053bde718bf8116ec031a47a06ad4fae8ca38509b61a917f195ffc30b4ebbdf6fb8e06190979b18ad4c0c2f941df510572759c194f9e0008ea6
7
- data.tar.gz: de2334780918ca648eb55510defb31fba498551a4b6aa5d110115791b28992576aa4f2fcce5c46a490aaa6586c44cc047c41fc7175580ad9e45f7a5ce9dd8638
6
+ metadata.gz: 56d43f40d8fc593eab6f9051737a5e9fa757841b4f72f7af672ae50e6bfdb8da6cea5f8cf13bbf67982596eb19897b747c68adbd40a7ab23cf7c578b8cff8783
7
+ data.tar.gz: c7eed2a059fd4c42dd2a004d55f904f4c9a0399f402f0b73ec7f65a7e4907846a4ced15e05bcab74cd92d86ef3d4b82d5b6660efbc42c85e456214c3e3437e1d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.3.10
4
+
5
+ ### Bug Fix
6
+
7
+ - **`api_url` output missing base path for custom domains**: When a custom domain is
8
+ configured (e.g. `api.dev.example.com`), the `api_url` terraform output was missing
9
+ the gateway's base path segment. Conveyor-belt maps each gateway to a base path
10
+ (gateway "api" → path `/api`), so the correct URL is
11
+ `https://api.dev.example.com/api` not `https://api.dev.example.com`. The frontend
12
+ would get the wrong `VITE_API_URL` and hit a 403 on the custom domain root.
13
+
3
14
  ## 0.3.9
4
15
 
5
16
  ### Bug Fix
data/lib/belt/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Belt
4
- VERSION = '0.3.9'
4
+ VERSION = '0.3.10'
5
5
  end
@@ -1,6 +1,6 @@
1
1
  output "api_url" {
2
2
  description = "API Gateway base URL (custom domain if configured, otherwise default)"
3
- value = var.domain != "" ? "https://${local.api_domain}" : values(conveyor_belt.main.api_gateway_urls)[0]
3
+ value = var.domain != "" ? "https://${local.api_domain}/${keys(conveyor_belt.main.api_gateway_urls)[0]}" : values(conveyor_belt.main.api_gateway_urls)[0]
4
4
  }
5
5
 
6
6
  output "api_urls" {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: belt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.9
4
+ version: 0.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stowzilla