Toggle navigation
Toggle navigation
This project
Loading...
Sign in
卢阳
/
front_backend_zImage
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
ly0303521
2026-01-29 15:24:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e9cd28f6943854830ca67d24efa70247551c85a6
e9cd28f6
1 parent
c4fe97f0
每次启动都将config.js放置缓存目录
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
start_all.sh
start_all.sh
View file @
e9cd28f
...
...
@@ -40,6 +40,7 @@ window.APP_CONFIG = {
LIKES_FOR_REWARD: ${LIKES_FOR_REWARD:-5}
};
EOF
cp
"
$CONFIG_JS_FILE
"
"
$FRONTEND_DIR
/dist/config.js"
2>/dev/null
||
true
export
TURBO_DIFFUSION_LOCAL_URL
=
"http://127.0.0.1:
$LOCAL_TURBO_PORT
"
export
VITE_API_BASE_URL
=
"http://
$PUBLIC_IP
:
$PUBLIC_BACKEND_PORT
"
export
WHITELIST_PATH
=
"
$BASE_DIR
/backend/whitelist.txt"
...
...
Please
register
or
login
to post a comment