iouoracle commited on
Commit
45dd7ca
1 Parent(s): d4b80f9

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +5 -3
start.sh CHANGED
@@ -1,5 +1,7 @@
1
  #!/bin/sh
 
 
2
 
3
- nginx &
4
- /one-api
5
-
 
1
  #!/bin/sh
2
+ # 启动 cloudflared tunnel
3
+ cloudflared tunnel --no-autoupdate run --token $CF_TOKEN &
4
 
5
+ # 启动 nginx 和 one-api
6
+ /one-api &
7
+ nginx -g "daemon off;"