简体   繁体   中英

How to set base path in laravel5.2?

I am new one to laravel, how can we set base URL in laravel

I want url looks like https://localhost/projectfolder/site/home

But when i click on link it goes to

https://localhost/home

Thanks in advance

APP_ENV=local
APP_DEBUG=true
APP_KEY=SomeRandomString
APP_URL='this is where you set the app url'

You can find this settings in the .env file in your root project folder.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM