Skip to content

Commit d9acf38

Browse files
committed
Say the config is public through the source's main branch
1 parent f4efe4a commit d9acf38

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎content/(reference)/config-file.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ Two command groups take an explicit path.
222222

223223
The server does not run TypeScript. When `sf publish` or `sf build` packs a version, the CLI evaluates `spacefast.config.ts`. It writes the result into the version as `sf.jsonc`, in place of any `sf.jsonc` on disk. Your source files do not change.
224224

225-
The CLI also stores your `spacefast.config.ts` in the version, as `.spacefast/config-source.ts`, so each version shows which config produced it. It is never served. Your team can read it with the version's files. If you make the Space's source available, anyone can read it in the public source. Keep tokens and internal URLs out of the file and read them from Space variables. The first time you publish with the source available, `sf publish` warns you once.
225+
The CLI also stores your `spacefast.config.ts` in the version, as `.spacefast/config-source.ts`, so each version shows which config produced it. It is never served. Your team can read it with the version's files. `spacefast.config.ts` is also part of your source, so if you make the Space's source available, anyone can read it on the source's main branch. Keep tokens and internal URLs out of the file and read them from Space variables. The first time you publish to a Space whose source is available, `sf publish` warns you once.
226226

227227
Files that the config imports are ordinary files. If they are in the published directory, they are published and served.
228228

0 commit comments

Comments
 (0)