为什么不注册工作?和heroku和laravel一起。

时间:2019-12-27 12:52:43

标签: php laravel heroku

我将laravel应用程序部署到了heroku。
设置ClearDBMySQL并设置Config Vars。
我能够顺利进行迁移,并显示了首页。
但是,我进行了用户注册才能登录,但是它不起作用。 它在本地工作。
单击该按钮实际上并没有注册它。

・登录功能使用标准的laravel。
・没有错误

我应该进行任何设置吗?

heroku访问日志

2019-12-27T13:24:35.448690+00:00 heroku[router]: at=info method=POST path="/register" host=myappherokuapp.com request_id=00000000000 fwd=“0000000” dyno=web.1 connect=0ms service=11ms status=302 bytes=1381 protocol=http

2019-12-27T13:24:35.448122+00:00 app[web.1]: 10.63.251.11 - - [27/Dec/2019:13:24:35 +0000] "POST /register HTTP/1.1" 302 430 "http://myappherokuapp.com/register" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15

2019-12-27T13:24:35.788084+00:00 heroku[router]: at=info method=GET path="/register" host=myappherokuapp.com request_id=000000000fwd=“00000000” dyno=web.1 connect=0ms service=156ms status=200 bytes=4734 protocol=http

2019-12-27T13:24:35.787598+00:00 app[web.1]: 10.63.251.11 - - [27/Dec/2019:13:24:35 +0000] "GET /register HTTP/1.1" 200 3850 "http://myappherokuapp.com/register" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Safari/605.1.15

0 个答案:

没有答案