diff --git a/frontend/main.ts b/frontend/main.ts index 3c317adf42..a75ec123c6 100644 --- a/frontend/main.ts +++ b/frontend/main.ts @@ -21,6 +21,9 @@ $(function() { // Only install animation if the page supports it. setup_animation(); } + + // TODO: For console debugging only. + (window).$ = $; }); function install_events() { @@ -103,4 +106,3 @@ function focus() { $(INPUT).focus(); $(INPUT).select(); } - diff --git a/s3-deploy.sh b/s3-deploy.sh index 5205af0864..ba1afecaa7 100755 --- a/s3-deploy.sh +++ b/s3-deploy.sh @@ -27,6 +27,7 @@ mkdir -p $output_dir cp *css $output_dir cp *html $output_dir cp -R images/ $output_dir +cp favicon.ico $output_dir cp output/* $output_dir # Modify URLs in index.html @@ -47,6 +48,7 @@ echo "> Upload to S3." aws s3 cp $output_dir s3://junglehorse-frontend/assets/${checksum} --recursive aws s3 cp $output_dir/index.html s3://junglehorse.com/index.html aws s3 cp $output_dir/error.html s3://junglehorse.com/error.html +aws s3 cp $output_dir/favicon.ico s3://junglehorse.com/favicon.ico popd > /dev/null echo "> Done." diff --git a/web/favicon.ico b/web/favicon.ico new file mode 100644 index 0000000000..5cf0d22b05 Binary files /dev/null and b/web/favicon.ico differ