Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: kidlisp.com routes on lith — dedicated handler instead of @mainspa

kidlisp.com was lumped into the AC SPA handler which couldn't resolve
its index.html. Now gets its own block with proper SPA fallback, plus
missing /wallet and /decree routes for subdomains.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+42 -6
+42 -6
lith/Caddyfile
··· 174 174 rewrite * /keeps-tech.html 175 175 file_server 176 176 } 177 + handle /wallet { 178 + root * /opt/ac/system/public/kidlisp.com 179 + rewrite * /wallet/index.html 180 + file_server 181 + } 177 182 handle { 178 183 root * /opt/ac/system/public/kidlisp.com 179 184 rewrite * /keeps.html ··· 230 235 handle /api/* { 231 236 reverse_proxy localhost:8888 232 237 } 233 - root * /opt/ac/system/public/kidlisp.com 234 - rewrite * /learn.html 235 - file_server 238 + handle /decree* { 239 + root * /opt/ac/system/public/kidlisp.com 240 + rewrite * /decree.html 241 + file_server 242 + } 243 + handle { 244 + root * /opt/ac/system/public/kidlisp.com 245 + rewrite * /learn.html 246 + file_server 247 + } 236 248 } 237 249 238 250 @keepsredirect host keeps.kidlisp.com ··· 330 342 file_server 331 343 } 332 344 333 - # --- notepat.com, kidlisp.com root, www variants --- 334 - # These all serve the main AC SPA 345 + # --- kidlisp.com root domain --- 346 + @kidlisproot host kidlisp.com www.kidlisp.com 347 + handle @kidlisproot { 348 + handle /api/* { 349 + reverse_proxy localhost:8888 350 + } 351 + handle /.netlify/functions/* { 352 + reverse_proxy localhost:8888 353 + } 354 + handle /keeps { 355 + redir https://keep.kidlisp.com/ 301 356 + } 357 + # Serve AC runtime assets for iframe embedding 358 + handle /aesthetic.computer/* { 359 + root * /opt/ac/system/public 360 + file_server 361 + } 362 + # kidlisp.com SPA 363 + handle { 364 + root * /opt/ac/system/public/kidlisp.com 365 + try_files {path} {path}.html /index.html 366 + file_server 367 + } 368 + } 369 + 370 + # --- notepat.com --- 335 371 @notepatroot host notepat.com www.notepat.com 336 372 handle @notepatroot { 337 373 @notepatindex path / ··· 340 376 } 341 377 reverse_proxy localhost:8888 342 378 } 343 - @mainspa host aesthetic.computer www.aesthetic.computer lith.aesthetic.computer kidlisp.com www.kidlisp.com notepat.com www.notepat.com p5.aesthetic.computer sitemap.aesthetic.computer 379 + @mainspa host aesthetic.computer www.aesthetic.computer lith.aesthetic.computer notepat.com www.notepat.com p5.aesthetic.computer sitemap.aesthetic.computer 344 380 handle @mainspa { 345 381 # Preload critical assets (browser starts fetching before parsing HTML) 346 382 header Link "</aesthetic.computer/boot.mjs>; rel=preload; as=script, </aesthetic.computer/style.css>; rel=preload; as=style"