Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Commit 0343357

Browse files
committed
Update
1 parent 604e878 commit 0343357

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/.editorconfig
12
/.git
23
/.gitattributes
34
/.gitignore

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
; This file is for unifying the coding style for different editors and IDEs.
2+
; More information at http://editorconfig.org
3+
4+
root = true
5+
6+
[*]
7+
charset = utf-8
8+
indent_size = 4
9+
indent_style = space
10+
end_of_line = lf
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true
13+
14+
[*.{json,yml,yaml}]
15+
indent_size = 2
16+
17+
[*.md]
18+
trim_trailing_whitespace = false

docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fi
88

99
# laravel-echo-server <sub-command>
1010
if [ "$1" = 'start' ] || [ "$1" = 'client:add' ] || [ "$1" = 'client:remove' ]; then
11-
if [! -f /app/laravel-echo-server.json ]; then
11+
if [ ! -f /app/laravel-echo-server.json ]; then
1212
cp /etc/laravel-echo-server.json /app/laravel-echo-server.json
1313
# Replace with environment variables
1414
sed -i "s|LARAVEL_ECHO_SERVER_DB|${LARAVEL_ECHO_SERVER_DB:-redis}|i" /app/laravel-echo-server.json

0 commit comments

Comments
 (0)