mercredi 29 avril 2020

how to remove "public" from url

hi everyone,

I want to deploy my Laravel project to production. the "public" not removing in base URL.

I have tried this solution:

  1. rename server.php to index.php

  2. cut .htaccess from /public and paste to root

it works but CSS, JS, images not loading.

if anyone knows about this problem please share your knowledge.

Thanks



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2KGnuI7
via IFTTT

Aucun commentaire:

Enregistrer un commentaire