mardi 28 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



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire