mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
Merge 819c0ebf37 into 64ef15420a
This commit is contained in:
commit
7a349c2364
@ -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 -print0 | xargs -0 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 -print0 | xargs -0 sed -i "s/__STATIC_CDN_HOST__\///g"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd $APP
|
cd $APP
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user