would probably be useful to replace my pinned with a notice that i'm more active on fedi, not wasteof.money. you can follow me at @tauon@possum.city
if you want more lily content (codeblock so i don't accidentally ping anyone)
LOL I TRIED TO UPLOAD A BASE64 IMG
PayloadTooLargeError: request entity too large
at readStream (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/raw-body/index.js:155:17)
at getRawBody (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/raw-body/index.js:108:12)
at read (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/body-parser/lib/read.js:77:3)
at jsonParser (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/body-parser/lib/types/json.js:135:5)
at Layer.handle [as handle_request] (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/index.js:317:13)
at /home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/index.js:335:12)
at next (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/index.js:275:10)
at expressInit (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/middleware/init.js:40:5)
@jeffalo add
<link rel="apple-touch-icon" href="/path/to/wasteof.png" />
and
<meta name="apple-mobile-web-app-capable" content="yes" />
@jeffalo i can't really figure out how the protocol works? so far i have this
1. get a sid
2. connect using the sid
3. send 2probe immediately
4. get 3probe
5. send 5 immediately after
6. wait patiently
7. get 2
8. send 3 immediately after
9. wait again
10. disconnect for some reason
the /chat websocket api is actually not too hard to understand when you get used to it
1. get sid
2. connect
3. weird probe2????
4. profit
i like to imagine the @government_spy is just messing around in his spare time but the government is like: no you cant because politik
cors moment
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Error</title></head><body><pre>Error: Not allowed by CORS<br> at origin (/home/jeffalo/projects/wasteof/wasteof2-api/index.js:59:16)<br> at /home/jeffalo/projects/wasteof/wasteof2-api/node_modules/cors/lib/index.js:219:13<br> at optionsCallback (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/cors/lib/index.js:199:9)<br> at corsMiddleware (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/cors/lib/index.js:204:7)<br> at Layer.handle [as handle_request] (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/layer.js:95:5)<br> at trim_prefix (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/index.js:317:13)<br> at /home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/index.js:284:7<br> at Function.process_params (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/index.js:335:12)<br> at next (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/express/lib/router/index.js:275:10)<br> at jsonParser (/home/jeffalo/projects/wasteof/wasteof2-api/node_modules/body-parser/lib/types/json.js:110:7)</pre></body></html>