-
-
Notifications
You must be signed in to change notification settings - Fork 521
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* release/6.0.34: cleanup canvas-ui fixes asset updates Apply fixes from StyleCI (#992) append the read time attribute to posts escape the '$' for both bash and sed fix the proxies issue app and asset url rewrites updating the .env links fixes to the gitpod environment
- Loading branch information
Showing
13 changed files
with
638 additions
and
618 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,12 @@ checkoutLocation: canvas | |
|
||
vscode: | ||
extensions: | ||
- [email protected]:bW1RGNnmWYQO43JdJgK34w== | ||
- [email protected]:WIWu3zHU4VPT8r/v866LUw== | ||
- [email protected]:GDba64T6G+TUi1qmc6BE3A== | ||
- equinusocio.vsc-community-material-theme | ||
- equinusocio.vsc-material-theme | ||
- equinusocio.vsc-material-theme-icons | ||
- esbenp.prettier-vscode | ||
- octref.vetur | ||
- eamodio.gitlens | ||
|
||
github: | ||
prebuilds: | ||
|
@@ -47,8 +50,7 @@ tasks: | |
touch database/database.sqlite | ||
# Write the database configuration to the .env file | ||
sed -i 's/DB_CONNECTION=mysql/DB_CONNECTION=sqlite/g' .env | ||
sed -i 's/DB_DATABASE=laravel/#DB_DATABASE=laravel/g' .env | ||
sed -i 's/DB_CONNECTION=mysql/DB_CONNECTION=sqlite/g' .env && sed -i 's/DB_DATABASE=laravel/#DB_DATABASE=laravel/g' .env | ||
# Link Canvas to the Laravel app | ||
composer-link ../canvas/ | ||
|
@@ -65,12 +67,6 @@ tasks: | |
cd public/vendor/canvas | ||
ln -s ../../../../canvas/public/* . | ||
cd /workspace/laravel | ||
# Trust any proxy in a chain of proxies | ||
php artisan vendor:publish --provider="Fideloper\Proxy\TrustedProxyServiceProvider" | ||
sed -Ei "s|'proxies' => null|'proxies' => '**'|g" config/trustedproxy.php | ||
command: | | ||
cd /workspace/laravel | ||
|
@@ -80,6 +76,10 @@ tasks: | |
# Write the local asset URL to the .env file | ||
export url=$(gp url 8000); sed -Ei "1i\ASSET_URL=${url}" .env | ||
# Trust any proxy in a chain of proxies | ||
export url=$(gp url 8000); sed -Ei "s|APP_URL=http://localhost|APP_URL=${url}|g" .env | ||
sed -Ei "s|\\\$proxies|\\\$proxies = '*'|g" app/Http/Middleware/TrustProxies.php | ||
# Clear and cache the app configuration | ||
php artisan config:clear | ||
php artisan cache:clear | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"/js/app.js": "/js/app.js?id=4cd6936efc67aef641e8", | ||
"/js/app.js": "/js/app.js?id=c485dc511cf72829d8be", | ||
"/css/app.css": "/css/app.css?id=ade4a5e16f09cdfbea3c" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.