Skip to content

Commit

Permalink
update ai/ init skeet config
Browse files Browse the repository at this point in the history
  • Loading branch information
POPPIN-FUMI committed Sep 11, 2023
1 parent 7faef98 commit f3c9705
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/cli/ai/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ const validateAiConfig = async () => {
const skeetConfig: SkeetCloudConfig = JSON.parse(String(config))
if (!skeetConfig.ai) {
skeetConfig.ai = defaultAiConfig
writeFileSync(SKEET_CONFIG_PATH, JSON.stringify(skeetConfig, null, 2))
}
writeFileSync(SKEET_CONFIG_PATH, JSON.stringify(skeetConfig, null, 2))
} catch (error) {
const skeetConfig = {
ai: defaultAiConfig,
Expand Down
4 changes: 2 additions & 2 deletions src/templates/init/skeet-cloud.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ export const skeetCloudConfigGen = async (
},
{
"priority": "2147483647",
"description": "Deny All IP addresses",
"description": "Allow/Deny All IP addresses. default: allow",
"options": {
"action": "deny-403"
"action": "allow"
}
}
]
Expand Down

0 comments on commit f3c9705

Please sign in to comment.