Change default surreal.io port to 443

This commit is contained in:
Tobie Morgan Hitchcock 2017-12-20 06:51:11 +00:00
parent 4e81a5633c
commit bec4c4e235
3 changed files with 3 additions and 3 deletions

View file

@ -144,6 +144,6 @@ func init() {
exportCmd.PersistentFlags().StringVarP(&opts.Auth.Auth, "auth", "a", "root:root", "Master authentication details to use when connecting.")
exportCmd.PersistentFlags().StringVar(&opts.DB.Type, "scheme", "https", "HTTP connection scheme to use to connect to the database.")
exportCmd.PersistentFlags().StringVar(&opts.DB.Host, "host", "surreal.io", "Database server host to connect to.")
exportCmd.PersistentFlags().StringVar(&opts.DB.Port, "port", "80", "Database server port to connect to.")
exportCmd.PersistentFlags().StringVar(&opts.DB.Port, "port", "443", "Database server port to connect to.")
}

View file

@ -134,6 +134,6 @@ func init() {
importCmd.PersistentFlags().StringVarP(&opts.Auth.Auth, "auth", "a", "root:root", "Master authentication details to use when connecting.")
importCmd.PersistentFlags().StringVar(&opts.DB.Type, "scheme", "https", "HTTP connection scheme to use to connect to the database.")
importCmd.PersistentFlags().StringVar(&opts.DB.Host, "host", "surreal.io", "Database server host to connect to.")
importCmd.PersistentFlags().StringVar(&opts.DB.Port, "port", "80", "Database server port to connect to.")
importCmd.PersistentFlags().StringVar(&opts.DB.Port, "port", "443", "Database server port to connect to.")
}

View file

@ -152,7 +152,7 @@ func init() {
sqlCmd.PersistentFlags().StringVarP(&opts.Auth.Auth, "auth", "a", "root:root", "Master authentication details to use when connecting.")
sqlCmd.PersistentFlags().StringVar(&opts.DB.Type, "scheme", "https", "HTTP connection scheme to use to connect to the database.")
sqlCmd.PersistentFlags().StringVar(&opts.DB.Host, "host", "surreal.io", "Database server host to connect to.")
sqlCmd.PersistentFlags().StringVar(&opts.DB.Port, "port", "80", "Database server port to connect to.")
sqlCmd.PersistentFlags().StringVar(&opts.DB.Port, "port", "443", "Database server port to connect to.")
sqlCmd.PersistentFlags().StringVar(&opts.Format.Type, "format", "text", "The output format for the server response data.")