Skip to content

Commit

Permalink
fix: update config
Browse files Browse the repository at this point in the history
  • Loading branch information
J0 committed Apr 19, 2024
1 parent 50c5775 commit b027946
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion internal/utils/misc.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,8 @@ func ChangeWorkDir(fsys afero.Fs) error {
return errors.Errorf("failed to get current directory: %w", err)
}
}
workdir := viper.GetString("WORKDIR") if len(workdir) == 0 {
workdir := viper.GetString("WORKDIR")
if len(workdir) == 0 {
workdir = getProjectRoot(CurrentDirAbs, fsys)
}
if err := os.Chdir(workdir); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion internal/utils/templates/init_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ max_frequency = "5s"
# [auth.hook.custom_access_token]
# enabled = true
# uri = "pg-functions://<database>/<schema>/<hook_name>"
# secrets = env(SUPABASE_AUTH_CUSTOM_ACCESS_TOKEN_SECRETS)


# Use a custom sms sender
Expand All @@ -142,7 +143,6 @@ max_frequency = "5s"
# Use this secret in the email_sender edge function as well.
# secrets = "env(SUPABASE_AUTH_SEND_EMAIL_SECRETS)

>>>>>>> f5e7f2b0 (feat: update init_config.toml)
# Configure one of the supported SMS providers: `twilio`, `twilio_verify`, `messagebird`, `textlocal`, `vonage`.
[auth.sms.twilio]
enabled = false
Expand Down

0 comments on commit b027946

Please sign in to comment.