Allow daemon by env
evan361425 opened this issue · 2 comments
evan361425 commented
HI~
Can I edit some code In config.php
?
...
submitter' => is_null(env('XRAY_DAEMON_HOST'))
? \Napp\Xray\Submission\APISegmentSubmitter::class
: \Napp\Xray\Submission\DaemonSegmentSubmitter::class,
...
The purpose is to make it able to switching submitter by .env
I will like to build a PR to add this feature :)
but it seems like I have no permission to write on the code.
skylerkatz commented
@evan361425 if you publish the config file php artisan vendor:publish
then you can modify the config file however you would like.
evan361425 commented
Ok, thanks