mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
[Fix] CDN Problem
This commit is contained in:
parent
3b13d7dc2d
commit
1e631e2eee
@ -48,9 +48,9 @@ fi
|
|||||||
|
|
||||||
cd $APP/dist
|
cd $APP/dist
|
||||||
if [ ! -z "$STATIC_CDN_HOST" ]; then
|
if [ ! -z "$STATIC_CDN_HOST" ]; then
|
||||||
find . -name "*.*" -type f -exec sed -i "s/__STATIC_CDN_HOST__/\/$STATIC_CDN_HOST/g" {} \;
|
find . -name "*.*" -type f -exec sed -i "s|\/__STATIC_CDN_HOST__|$STATIC_CDN_HOST|g" {} \;
|
||||||
else
|
else
|
||||||
find . -name "*.*" -type f -exec sed -i "s/__STATIC_CDN_HOST__\///g" {} \;
|
find . -name "*.*" -type f -exec sed -i "s|__STATIC_CDN_HOST__\/||g" {} \;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd $APP
|
cd $APP
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user