Skip to content

Commit

Permalink
Merge pull request #210 from lobehub/feat/entry-i18n
Browse files Browse the repository at this point in the history
fix: index.json lost
  • Loading branch information
rdmclin2 authored Nov 7, 2024
2 parents 9d72bb0 + a6e16cd commit 89fb840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ class Builder {
const agentsIndex = { ...meta, agents };

const indexFileName = getBuildLocaleAgentFileName("index", locale);
writeJSONSync(resolve(publicDir, indexFileName), agentsIndex);
writeJSONSync(resolve(publicAgentDir, indexFileName), agentsIndex);
consola.success(`build ${locale}`);
}
};
Expand Down

0 comments on commit 89fb840

Please sign in to comment.