Skip to content

Commit

Permalink
Merge pull request #156 from Adamant-im/cors-fix
Browse files Browse the repository at this point in the history
Surge.sh deployment fixes
  • Loading branch information
zyuhel authored Oct 26, 2018
2 parents 20e7fec + e50c44a commit a105727
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ do
# https://en.wikipedia.org/wiki/Domain_Name_System#Domain_name_syntax
SUBDOMAIN=`echo "$DEPLOY_SUBDOMAIN_UNFORMATTED" | sed -r 's/[\/|\.]+/\-/g'`
done
touch ./dist/CORS
echo '*' > ./dist/CORS
cp ./dist/index.html ./dist/200.html

0 comments on commit a105727

Please sign in to comment.