Skip to content

Commit

Permalink
Fix src=
Browse files Browse the repository at this point in the history
  • Loading branch information
LucienShui committed Aug 31, 2019
1 parent 9a8482c commit f748074
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shell/master.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ rm -rf .git && \
git clone https://github.com/PasteUs/CDN.git -b master pasteme_cdn && \
sed -e "s/href=\//href=https:\/\/cdn.jsdelivr.net\/gh\/PasteUs\/CDN@$(cat pasteme_cdn/version.txt)\/pasteme\//g" pasteme/index.html > buffer.html && \
mv buffer.html pasteme/index.html && \
sed -e "s/src=\/js/src=https:\/\/cdn.jsdelivr.net\/gh\/PasteUs\/CDN@$(cat pasteme_cdn/version.txt)\/pasteme\/js/g" pasteme/index.html > buffer.html && \
mv buffer.html pasteme/index.html && \
rm -rf pasteme_cdn/pasteme && \
cp -r pasteme pasteme_cdn && \
cd pasteme_cdn && \
Expand Down

0 comments on commit f748074

Please sign in to comment.