haruncpi / laravel-log-reader

A simple and beautiful laravel log reader

Home Page:https://laravelarticle.com/laravel-log-reader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Index page breaks when changing API route

alistairreynolds opened this issue · comments

Great package, very useful!

One issue I found is if the API route changes in the config file, it no longer shows any logs. Seems to be due to hard coded routes in the index view

if (date !== '' && date !== undefined) {
    url = '{{url('/admin/api/log-reader')}}?date=' + date
        } else {
    url = '{{url('/admin/api/log-reader')}}'
}

Now it's ok - v1.0.4