Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Duplicated from
eggacheb/newapi
iouoracle
/
newapi
like
0
Running
App
Files
Files
Community
iouoracle
commited on
Oct 27, 2024
Commit
45dd7ca
•
1 Parent(s):
d4b80f9
Update start.sh
Browse files
Files changed (1)
hide
show
start.sh
+5
-3
start.sh
CHANGED
Viewed
@@ -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;"