Skip to content

Commit 16e8d7e

Browse files
committed
Added unix date formated in headers
1 parent a8cfcb9 commit 16e8d7e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/infrastructure/postJump.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@ export const sentJump = async (
66
url: string,
77
data: Jump
88
): Promise<ResponseBack> => {
9+
10+
const unix_date = (new Date()).getTime()
911
// Define options with headers
1012
const options = {
1113
headers: {
1214
'Content-Type': 'application/json',
13-
'React-modifier': 'true',
15+
'React-modifier': unix_date,
1416
},
1517
};
1618

0 commit comments

Comments
 (0)