The verification code generated by think-captcha in thinkphp5 is not displayed
The generated verification code is displayed as follows
Baidu said to add line 39 in helper.php under captcha
\think\Route::rule('captcha','index/captcha');
But it still can’t be displayed
Newbie please give me some advice
It may be caused by the BOM header in your entry file. Search php.bom online and execute it in the project root directory, and try again.