laravel-bap
Keymaster
    # 2 weeks, 5 days ago

    Hi,
    menu should point to /localhost instead of /localhost/public. This is wrong. You should map Your localhost domain to …app_path/public/ – if You are mapping to the roof of application You are exposing .env and rest of folders and files.

    Please read articles:

    IF You are using XAMPP + WINDOWS
    https://ourcodeworld.com/articles/read/584/how-to-configure-a-virtual-host-for-a-laravel-project-in-xampp-for-windows

    https://stackoverflow.com/questions/31951931/how-to-enable-virtual-host-on-xampp-for-laravel

    If You are using php artisan serve

    Then You should access the application via localhost:8000

    If You still for some reason want to use /localhost/public – You need to update BAP_MenuManager.js located in menu manager module. Update ajax url to /public/… after update use php artisan module:publish to publish assets in public folder. Then update menu url’s.