Skip to content

Commit

Permalink
App: Upgrade to HTTPS
Browse files Browse the repository at this point in the history
I finally got my backend up and running with LetsEncrypt, so I can
upgrade all my sites to HTTPS :)
  • Loading branch information
tvillarete committed Jan 2, 2020
1 parent 3a87a29 commit e28f926
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/App/Audio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const Audio = () => {
onLoadStart={handleLoadStart}
onCanPlay={handleLoadEnd}
onEnded={nextSong}
src={`http://tannerv.ddns.net/SpotiFree/${encodeURI(source.url)}`}
src={`https://tannerv.ddns.net/SpotiFree/${encodeURI(source.url)}`}
/>
) : null;
};
Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import App from './App';
import * as serviceWorker from './serviceWorker';

const client = new ApolloClient({
uri: "http://tannerv.ddns.net:3000/graphql"
uri: "https://05aacd63.ngrok.io/graphql"
});

ReactDOM.render(
Expand Down
2 changes: 1 addition & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Song } from 'services/audio';

export const getUrlFromPath = (path: string) =>
`http://tannerv.ddns.net/SpotiFree/${encodeURI(path)}`;
`https://tannerv.ddns.net/SpotiFree/${encodeURI(path)}`;

export const formatTime = (seconds = 0, guide = seconds) => {
let s: number | string = Math.floor(seconds % 60);
Expand Down

0 comments on commit e28f926

Please sign in to comment.