Skip to content

Commit

Permalink
removed debugs
Browse files Browse the repository at this point in the history
  • Loading branch information
harshdoesdev committed Feb 19, 2024
1 parent 3e20a8e commit 152ead2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 2 additions & 3 deletions fastn-core/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1182,9 +1182,8 @@ impl Config {

config.package.endpoints = {
for endpoint in &mut config.package.endpoints {
endpoint.endpoint = dbg!(
fastn_core::utils::interpolate_env_vars(&config.ds, &endpoint.endpoint).await?
);
endpoint.endpoint =
fastn_core::utils::interpolate_env_vars(&config.ds, &endpoint.endpoint).await?;
}

config.package.endpoints
Expand Down
1 change: 1 addition & 0 deletions fastn-core/tests/21-http-endpoint/input/FASTN.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
-- fastn.url-mappings:

/api/* -> http+proxy://${env.REQRES}/api/*
/api/v2/* -> http+proxy://${env.EXAMPLE or "example.com"}/api/v2/*
7 changes: 6 additions & 1 deletion fastn-core/tests/21-http-endpoint/input/index.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,13 @@ $processor$: pr.http
url: /api/users/2



-- display-user: $u



-- component display-user:
user u:
caption user u:

-- ftd.row:
spacing.fixed.rem: 1
Expand Down

0 comments on commit 152ead2

Please sign in to comment.