Skip to content

Commit

Permalink
fix: removed privacy data from site config
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyxguo committed Aug 10, 2023
1 parent eaaa4ea commit d26e57a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/generators/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ class SiteGenerator {

addSiteConfig(data) {
const configs = this.data;
// Removed privacy data from site configs
delete configs.deploy;
delete configs.server;
data.push({
path: 'api/site.json',
data: JSON.stringify(configs)
Expand Down

0 comments on commit d26e57a

Please sign in to comment.