Skip to content

Commit

Permalink
Use host instead of domain for revalidator logic (#2054)
Browse files Browse the repository at this point in the history
  • Loading branch information
dubwub authored Jan 23, 2025
1 parent 4ff17d6 commit b252bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fern-docs/bundle/src/server/DocsLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class DocsLoader {
> {
if (!this.#loadForDocsUrlResponse) {
try {
const dbDocsDefUrl = `${this.getDocsDefinitionUrl()}/${this.domain}.json`;
const dbDocsDefUrl = `${this.getDocsDefinitionUrl()}/${this.host}.json`;
const response = await fetch(dbDocsDefUrl);
if (response.ok) {
const json = await response.json();
Expand Down

0 comments on commit b252bfd

Please sign in to comment.