xuezier / egg-apollo-client

16 stars 6 forks source link

set_env_file not work #21

Closed imapolaris closed 3 years ago

imapolaris commented 3 years ago
apollo: {
      config_server_url: 'server_url',
      app_id: 'appId',
      init_on_start: true,
      cluster_name: 'default',
      namespace_name: 'application',
      release_key: '',
      set_env_file: true,
      watch: true,
      timeout: 5000,
},

this is my config, built .env.apollo file under the app.baseDir yet. set_env_file not work, what is the problem?

imapolaris commented 3 years ago

i config the env_file_path, resolve this problem. why env_file_path default config not work?

xuezier commented 3 years ago

env_file_path default value is: os.tmpdir() , it's a mistake in readme

imapolaris commented 3 years ago

env_file_path default value is: os.tmpdir() , it's a mistake in readme

ok, i find it. appreciate!