Skip to content

Commit d1843bd

Browse files
committed
refactor: added env file into gitignore
1 parent 2fe24fd commit d1843bd

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

.env.example

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Ditto Configuration
2+
DITTO_APP_ID=your_app_id_here
3+
DITTO_TOKEN=your_playground_token_here
4+
5+
# Optional - defaults to 'onlinePlayground'
6+
# DITTO_IDENTITY_TYPE=onlinePlayground
7+
8+
# Only needed for onlineWithAuthentication
9+
# DITTO_CUSTOM_AUTH_URL=https://your-auth-url.com
10+
11+
# Optional websocket URL
12+
# DITTO_WEBSOCKET_URL=wss://your-websocket-url.com
13+
14+
# Optional settings (defaults shown)
15+
# DITTO_ENABLE_CLOUD_SYNC=false
16+
# DITTO_ENABLE_DQL_STRICT_MODE=false
17+
18+
# Only needed for offlinePlayground
19+
# DITTO_SITE_ID=1

example/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,3 +73,4 @@ yarn-error.log
7373
!.yarn/releases
7474
!.yarn/sdks
7575
!.yarn/versions
76+
.env

0 commit comments

Comments
 (0)