Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
prserve order of pg-variables
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantk232 authored and amitu committed Nov 2, 2023
1 parent 5f9bf75 commit 846354b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
18 changes: 13 additions & 5 deletions backend/env-vars.ftd
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,7 @@ FASTN_DANGER_ACCEPT_CHECKED_IN_ENV=true fastn serve

-- ds.h2: Postrgres variables

-- fastn-pg-url:
-- fastn-pg-danger-disable-ssl:
-- fastn-pg-ssl-mode:
-- fastn-pg-danger-allow-unverified-certificate:
-- fastn-pg-certificate:
-- fastn-pg-variables:

-- ds.h2: `fastn` cli variables

Expand Down Expand Up @@ -146,3 +142,15 @@ body content:
$env-doc.content

-- end: env-doc

-- component fastn-pg-variables:

-- ftd.column:
-- fastn-pg-url:
-- fastn-pg-danger-disable-ssl:
-- fastn-pg-ssl-mode:
-- fastn-pg-danger-allow-unverified-certificate:
-- fastn-pg-certificate:
-- end: ftd.column

-- end: fastn-pg-variables
8 changes: 2 additions & 6 deletions ftd-host/pg.ftd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-- import: fastn.com/ftd/built-in-variables as v
-- import: fastn/processors as pr
-- import: fastn.com/ftd-host/processor
-- import: fastn.com/backend/env-vars as env-vars
-- import: fastn.com/backend/env-vars


-- ds.page: Querying PostgreSQL Using `fastn`
Expand Down Expand Up @@ -119,11 +119,7 @@ for: $p in $people

-- ds.h1: Environment Variables

-- env-vars.fastn-pg-url:
-- env-vars.fastn-pg-danger-disable-ssl:
-- env-vars.fastn-pg-ssl-mode:
-- env-vars.fastn-pg-danger-allow-unverified-certificate:
-- env-vars.fastn-pg-certificate:
-- env-vars.fastn-pg-variables:

-- end: ds.page

Expand Down

1 comment on commit 846354b

@vercel
Copy link

@vercel vercel bot commented on 846354b Nov 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.