b10cks version
2026.8.25-1571e931
Install method
One-line installer (get.b10cks.com)
PHP version
PHP 8.5.9 (cli)
Database
image: mariadb:11.4
Steps to reproduce
- Install with one liner
- Navigate to
/b10cks directory
- Run
docker compose exec app php artisan tinker \ --execute='dump(app()->environment(), config("app.url"), url("/build/test.js"));'
Expected behavior
"production"
"http://localhost:8000"
"http://localhost:8000/build/test.js"
Actual behavior
"production"
"http://localhost:8000"
"https://localhost:8000/build/test.js"
Logs or screenshots
When going to http://localhost:8000 the browser then raises CORS errors `Cross-Origin Request Blocked … CORS request did not succeed. Status code: (null)`
I understand why the default setup would be `production`, however I think that allowing `forceScheme('https')` to be configurable to allow local dev setups would be a good thing. My current workaround is a `compose.override.yml` with the following code, but it's not ideal :
# compose.override.yml
services:
app:
environment:
APP_ENV: local
b10cks version
2026.8.25-1571e931
Install method
One-line installer (get.b10cks.com)
PHP version
PHP 8.5.9 (cli)
Database
image: mariadb:11.4
Steps to reproduce
/b10cksdirectorydocker compose exec app php artisan tinker \ --execute='dump(app()->environment(), config("app.url"), url("/build/test.js"));'Expected behavior
"production"
"http://localhost:8000"
"http://localhost:8000/build/test.js"
Actual behavior
"production"
"http://localhost:8000"
"https://localhost:8000/build/test.js"
Logs or screenshots