Skip to content

Commit

Permalink
feat(assets): add Google Cloud Storage bucket url instead local path
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Aug 4, 2023
1 parent 0c46581 commit 2d8180f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/sound/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const Sound: React.FC<SoundProps> = ({ soundData }) => {
<Container title={soundData.title}>
<audio ref={soundRef} preload="auto" loop>
<source
src={`/sounds/${soundData.audioFile.name}`}
src={`https://storage.googleapis.com/ambience-sounds/${soundData.audioFile.name}`}
type={soundData.audioFile.type}
/>
</audio>
Expand Down

0 comments on commit 2d8180f

Please sign in to comment.