Skip to content

Commit f5217cb

Browse files
committed
🐛 Fix(url)
1 parent 293cf25 commit f5217cb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/shared/services/autosave.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ type PatchingPropertyName<T extends PatchTo> = T extends "progress" ? PatchingPr
1010

1111
const getUrl = () => {
1212
if ((import.meta as any).PROD) {
13-
return "https://prod-study-tracker-api-sql-f600c502d1e4.herokuapp.com"
13+
return "http://localhost:3456"
1414
}
15-
return "http://localhost:3456"
15+
return "https://prod-study-tracker-api-sql-f600c502d1e4.herokuapp.com"
1616
}
1717

1818
export const useAutoSave = <T extends PatchTo>(patchTo: T, patchingPropertyName: PatchingPropertyName<T>, editedDict: Record<number, any>, mergeToInitial: () => void) => {

0 commit comments

Comments
 (0)