diff --git a/src/App.tsx b/src/App.tsx index b71b82e..c5cb9d1 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -27,8 +27,8 @@ import StopwatchTimer from './stopwatchTimer'; import TrackView from './trackView'; import LinearGauge from './linearGauge'; -//const DATA_SOURCE = 'http://judas.arkinsolomon.net'; -const DATA_SOURCE = window.location.hostname === 'localhost' ? 'http://localhost:8080' : 'http://judas.arkinsolomon.net'; +//const DATA_SOURCE = 'https://judas.arkinsolomon.net'; +const DATA_SOURCE = window.location.hostname === 'localhost' ? 'http://localhost:8080' : 'https://judas.arkinsolomon.net'; export default class App extends Component, AppState> { private _socket?: Socket; diff --git a/upload-display.sh b/upload-display.sh index cb287b8..9d77651 100755 --- a/upload-display.sh +++ b/upload-display.sh @@ -16,6 +16,8 @@ for EXT in $EXTENSIONS; do MIME_TYPE="text/css" elif [ "$EXT" = "js" ]; then MIME_TYPE="application/javascript" + elif [ "$EXT" = "ico" ]; then + MIME_TYPE="image/x-icon" else TEST_FILE=$(find . -type f -iname "*.$EXT" | head -1) MIME_TYPE=$(file -b --mime-type "$TEST_FILE")