@@ -3,7 +3,7 @@ use Mix.Config
33# For production, we often load configuration from external
44# sources, such as your system environment. For this reason,
55# you won't find the :http configuration below, but set inside
6- # MastaniServerWeb .Endpoint.init/2 when load_from_system_env is
6+ # GroupherServerWeb .Endpoint.init/2 when load_from_system_env is
77# true. Any dynamic configuration should be done there.
88#
99# Don't forget to configure the url host to something meaningful,
@@ -13,7 +13,7 @@ use Mix.Config
1313# containing the digested version of static files. This
1414# manifest is generated by the mix phx.digest task
1515# which you typically run after static files are built.
16- config :mastani_server , MastaniServerWeb .Endpoint,
16+ config :groupher_server , GroupherServerWeb .Endpoint,
1717 load_from_system_env: true ,
1818 url: [ host: "coderplanets.com" , port: 80 ]
1919
@@ -28,7 +28,7 @@ config :logger, :console, format: "[$level] $message\n"
2828# To get SSL working, you will need to add the `https` key
2929# to the previous section and set your `:url` port to 443:
3030#
31- # config :mastani_server, MastaniServerWeb .Endpoint,
31+ # config :groupher_server, GroupherServerWeb .Endpoint,
3232# ...
3333# url: [host: "example.com", port: 443],
3434# https: [:inet6,
@@ -43,7 +43,7 @@ config :logger, :console, format: "[$level] $message\n"
4343# We also recommend setting `force_ssl`, ensuring no data is
4444# ever sent via http, always redirecting to https:
4545#
46- # config :mastani_server, MastaniServerWeb .Endpoint,
46+ # config :groupher_server, GroupherServerWeb .Endpoint,
4747# force_ssl: [hsts: true]
4848#
4949# Check `Plug.SSL` for all available options in `force_ssl`.
@@ -58,20 +58,20 @@ config :logger, :console, format: "[$level] $message\n"
5858# Alternatively, you can configure exactly which server to
5959# start per endpoint:
6060#
61- # config :mastani_server, MastaniServerWeb .Endpoint, server: true
61+ # config :groupher_server, GroupherServerWeb .Endpoint, server: true
6262#
6363
6464# Finally import the config/prod.secret.exs
6565# which should be versioned separately.
6666# import_config "prod.secret.exs"
6767
68- config :mastani_server , MastaniServerWeb .Endpoint,
68+ config :groupher_server , GroupherServerWeb .Endpoint,
6969 secret_key_base: System . get_env ( "SECRET_KEY_BASE" )
7070
7171# You can generate a new secret by running:
7272# mix phx.gen.secret
7373# should use RDS 内网地址
74- config :mastani_server , MastaniServer .Repo,
74+ config :groupher_server , GroupherServer .Repo,
7575 adapter: Ecto.Adapters.Postgres ,
7676 username: System . get_env ( "DB_USERNAME" ) ,
7777 password: System . get_env ( "DB_PASSWORD" ) ,
@@ -80,11 +80,11 @@ config :mastani_server, MastaniServer.Repo,
8080 port: String . to_integer ( System . get_env ( "DB_PORT" ) || "3433" ) ,
8181 pool_size: String . to_integer ( System . get_env ( "DB_POOL_SIZE" ) || "20" )
8282
83- config :mastani_server , :github_oauth ,
83+ config :groupher_server , :github_oauth ,
8484 client_id: System . get_env ( "OAUTH_GITHUB_CLIENT_ID" ) ,
8585 client_secret: System . get_env ( "OAUTH_GITHUB_CLIENT_SECRET" )
8686
87- config :mastani_server , :radar_search , ip_service: System . get_env ( "IP_LOCATE_KEY" )
87+ config :groupher_server , :radar_search , ip_service: System . get_env ( "IP_LOCATE_KEY" )
8888
8989config :sentry ,
9090 dsn: System . get_env ( "SENTRY_DSN" ) ,
0 commit comments