From c0dc4cb2dbb753c679f88aa88950abc636ed90e4 Mon Sep 17 00:00:00 2001 From: Raspberry Pi Date: Thu, 6 Aug 2026 12:43:15 +0530 Subject: [PATCH] feat: add new configs --- caddie.ts | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/caddie.ts b/caddie.ts index b8a54e8..8506f3c 100755 --- a/caddie.ts +++ b/caddie.ts @@ -9,10 +9,7 @@ const mappings = { "todo.hy-pr.link": "http://localhost:9001", "affine.hy-pr.link": "http://localhost:9005", "affine-nyx.hy-pr.link": "http://localhost:9005", - "cash.hy-pr.link": "http://localhost:9006", "pin.hy-pr.link": "http://localhost:9007", - // "stardew.hy-pr.link": "http://localhost:9008", - // "keep.hy-pr.link": "http://localhost:9010", "dl-api.hy-pr.link": "http://localhost:9011", "dl.hy-pr.link": "http://localhost:9012", "pics.hy-pr.link": "http://localhost:9013", @@ -40,6 +37,14 @@ const mappings = { "it-tools.hy-pr.link": "http://100.64.0.3:8101", "vert.hy-pr.link": "http://100.64.0.3:8103", "pdf.hy-pr.link": "http://100.64.0.3:8104", + + //sites + "bash.hy-pr.link": "/opt/sites/bash", + "stardew.hy-pr.link": "/opt/sites/stardew", + "predictor.stardew.hy-pr.link": "/opt/sites/stardew-predictor", + "checkup.stardew.hy-pr.link": "/opt/sites/stardew-checkup", + "planner.stardew.hy-pr.link": "/opt/sites/crop_planner", + "helper.stardew.hy-pr.link": "/opt/sites/stardew-fair-helper", } let caddyfile = `# Caddyfile @@ -51,21 +56,6 @@ https://103.126.231.26 { redir https://silicoflare.dev{uri} } -bash.hy-pr.link { - root * /opt/sites/bash - file_server -} - -stardew.hy-pr.link { - root * /opt/sites/stardew - file_server -} - -predictor.stardew.hy-pr.link { - root * /opt/sites/stardew-predictor - file_server -} - hy-pr.link { redir /silicoflare https://silicoflare.dev redir /flare https://silicoflare.dev