Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提問,請教bjyblog的base url設置方法 #131

Open
rfrkk opened this issue Dec 23, 2019 · 2 comments
Open

提問,請教bjyblog的base url設置方法 #131

rfrkk opened this issue Dec 23, 2019 · 2 comments

Comments

@rfrkk
Copy link

rfrkk commented Dec 23, 2019

在本機的測試路徑為
http://127.0.0.1/laravel/laravel-bjyblog/
打開網址後正確執行,不過js、css和圖片的路徑並沒有依照我在.env內設置

APP_URL=http://127.0.0.1/laravel

,而是指向了http://127.0.0.1/

請問要怎麼設置才能如我要的路徑呢。謝謝

@baijunyao
Copy link
Owner

baijunyao commented Dec 23, 2019

不應該修改 APP_URL; 而是要設置本地的 NGINX 或者 Apache 虛擬主機;
可以參考 #122 裡面的配置;

@rfrkk
Copy link
Author

rfrkk commented Dec 24, 2019

十分的感謝,解決了我的疑惑 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants