瀏覽代碼

:construction: Updated env sample with new variables

tags/0.0.4
tomit4 2 年之前
父節點
當前提交
bd0d0b0dfb
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      backend/.env.sample

+ 2
- 2
backend/.env.sample 查看文件

@@ -5,11 +5,12 @@
5 5
 # API host:port
6 6
 API_HOST=localhost
7 7
 API_PORT=3001
8
+APP_SECRET=somesecret
9
+APP_SESSION_SALT=a;sldkja;ldksfja;sldkj
8 10
 
9 11
 USE_LOCAL_DB=true
10 12
 DB_TYPE=mysql
11 13
 
12
-
13 14
 # Extra pepper for auth encryption
14 15
 PEPPER=kosho
15 16
 APP_SECRET=mysecret
@@ -24,7 +25,6 @@ DB_NAME=test
24 25
 DB_USER=root
25 26
 DB_ROOT_PASSWORD=root
26 27
 
27
-
28 28
 # Config for remote planet scale production dB
29 29
 PSCALE_DB_HOST=planet-scale-db
30 30
 PSCALE_DB_PORT=3306

Loading…
取消
儲存