Skip to content

Commit

Permalink
fix missing / on cache directory
Browse files Browse the repository at this point in the history
  • Loading branch information
JorrinKievit committed Apr 13, 2024
1 parent 93111ec commit e83054c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/expo/src/hooks/useDownloadManager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export const useDownloadManager = () => {
lastTimestamp = currentTime;
};

const fileUri = `${FileSystem.cacheDirectory}movie-web${url.split("/").pop()}`;
const fileUri = `${FileSystem.cacheDirectory}movie-web/${url.split("/").pop()}`;
if (
!(
await FileSystem.getInfoAsync(`${FileSystem.cacheDirectory}movie-web`)
Expand Down

0 comments on commit e83054c

Please sign in to comment.