tangled
alpha
login
or
join now
ptr.pet
/
endpoint
0
fork
atom
data endpoint for entity 90008 (aka. a website)
0
fork
atom
overview
issues
pulls
pipelines
reduce share expiration to an hour
ptr.pet
2 months ago
459433f9
176754c5
verified
This commit was signed with the committer's
known signature
.
ptr.pet
SSH Key Fingerprint:
SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw=
0/0
Waiting for spindle ...
+2
-2
1 changed file
expand all
collapse all
unified
split
eunomia
src
lib
navidrome.ts
+2
-2
eunomia/src/lib/navidrome.ts
···
91
91
description: string = 'Generated by Eunomia'
92
92
): Promise<string | null> => {
93
93
try {
94
94
-
// Expiry: 1 day from now (in milliseconds)
95
95
-
const expires = (Date.now() + 24 * 60 * 60 * 1000).toString();
94
94
+
// expiry in an hour
95
95
+
const expires = (Date.now() + 60 * 60 * 1000).toString();
96
96
97
97
const res = await request('createShare', {
98
98
id: songId,