Spaces:
Running
Running
DUBLK 2000 Admin commited on
Commit ·
0b3f8f9
1
Parent(s): a8e7c79
Add optimized WebP poster hosting, payment idempotency, key separation
Browse files
server.js
CHANGED
|
@@ -2284,7 +2284,8 @@ async function handleGenerate(req, res) {
|
|
| 2284 |
d: durSec,
|
| 2285 |
p: lvlPct(lvl),
|
| 2286 |
a: lvl,
|
| 2287 |
-
s: rec.size
|
|
|
|
| 2288 |
};
|
| 2289 |
if (leadSec > 0.05) body.v = Math.round(leadSec * 1000) / 1000;
|
| 2290 |
if (!rawAuth && lvl === "anonymous") {
|
|
|
|
| 2284 |
d: durSec,
|
| 2285 |
p: lvlPct(lvl),
|
| 2286 |
a: lvl,
|
| 2287 |
+
s: rec.size,
|
| 2288 |
+
e: exp
|
| 2289 |
};
|
| 2290 |
if (leadSec > 0.05) body.v = Math.round(leadSec * 1000) / 1000;
|
| 2291 |
if (!rawAuth && lvl === "anonymous") {
|