From 5ee682ef8f3797b1133c82936f3a8b8d724f3a22 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 15 Feb 2025 14:32:10 -0600 Subject: [PATCH] Remove accidental file: log.json --- log.json | 226 ------------------------- packages/ditto/controllers/frontend.ts | 2 +- 2 files changed, 1 insertion(+), 227 deletions(-) delete mode 100644 log.json diff --git a/log.json b/log.json deleted file mode 100644 index 4eff9bd2..00000000 --- a/log.json +++ /dev/null @@ -1,226 +0,0 @@ -{ - "level": "error", - "ns": "ditto.sql", - "sql": "select * from (select * from (select \"nostr_events\".* from \"nostr_events\" where \"nostr_events\".\"kind\" = any($1) and \"nostr_events\".\"pubkey\" = any($2) order by \"nostr_events\".\"created_at\" desc, \"nostr_events\".\"id\" asc limit $3) as \"e\" union all select * from (select \"nostr_events\".* from \"nostr_events\" where \"nostr_events\".\"kind\" = any($4) and (\"nostr_events\".\"tags_index\" @> $5 or \"nostr_events\".\"tags_index\" @> $6 or \"nostr_events\".\"tags_index\" @> $7 or \"nostr_events\".\"tags_index\" @> $8 or \"nostr_events\".\"tags_index\" @> $9 or \"nostr_events\".\"tags_index\" @> $10 or \"nostr_events\".\"tags_index\" @> $11 or \"nostr_events\".\"tags_index\" @> $12 or \"nostr_events\".\"tags_index\" @> $13 or \"nostr_events\".\"tags_index\" @> $14 or \"nostr_events\".\"tags_index\" @> $15 or \"nostr_events\".\"tags_index\" @> $16 or \"nostr_events\".\"tags_index\" @> $17 or \"nostr_events\".\"tags_index\" @> $18 or \"nostr_events\".\"tags_index\" @> $19 or \"nostr_events\".\"tags_index\" @> $20 or \"nostr_events\".\"tags_index\" @> $21 or \"nostr_events\".\"tags_index\" @> $22 or \"nostr_events\".\"tags_index\" @> $23 or \"nostr_events\".\"tags_index\" @> $24 or \"nostr_events\".\"tags_index\" @> $25 or \"nostr_events\".\"tags_index\" @> $26 or \"nostr_events\".\"tags_index\" @> $27 or \"nostr_events\".\"tags_index\" @> $28 or \"nostr_events\".\"tags_index\" @> $29 or \"nostr_events\".\"tags_index\" @> $30 or \"nostr_events\".\"tags_index\" @> $31 or \"nostr_events\".\"tags_index\" @> $32 or \"nostr_events\".\"tags_index\" @> $33 or \"nostr_events\".\"tags_index\" @> $34 or \"nostr_events\".\"tags_index\" @> $35 or \"nostr_events\".\"tags_index\" @> $36 or \"nostr_events\".\"tags_index\" @> $37 or \"nostr_events\".\"tags_index\" @> $38 or \"nostr_events\".\"tags_index\" @> $39 or \"nostr_events\".\"tags_index\" @> $40 or \"nostr_events\".\"tags_index\" @> $41 or \"nostr_events\".\"tags_index\" @> $42 or \"nostr_events\".\"tags_index\" @> $43 or \"nostr_events\".\"tags_index\" @> $44 or \"nostr_events\".\"tags_index\" @> $45 or \"nostr_events\".\"tags_index\" @> $46 or \"nostr_events\".\"tags_index\" @> $47 or \"nostr_events\".\"tags_index\" @> $48 or \"nostr_events\".\"tags_index\" @> $49 or \"nostr_events\".\"tags_index\" @> $50 or \"nostr_events\".\"tags_index\" @> $51 or \"nostr_events\".\"tags_index\" @> $52 or \"nostr_events\".\"tags_index\" @> $53) order by \"nostr_events\".\"created_at\" desc, \"nostr_events\".\"id\" asc limit $54) as \"e\" union all select * from (select \"nostr_events\".* from \"nostr_events\" where \"nostr_events\".\"kind\" = any($55) and \"nostr_events\".\"pubkey\" = any($56) order by \"nostr_events\".\"created_at\" desc, \"nostr_events\".\"id\" asc limit $57) as \"e\" union all select * from (select \"nostr_events\".* from \"nostr_events\" where \"nostr_events\".\"id\" = any($58) and \"nostr_events\".\"kind\" = any($59) limit $60) as \"e\" union all select * from (select \"nostr_events\".* from \"nostr_events\" where \"nostr_events\".\"kind\" = any($61) and \"nostr_events\".\"pubkey\" = any($62) order by \"nostr_events\".\"created_at\" desc, \"nostr_events\".\"id\" asc limit $63) as \"e\" union all select * from (select \"nostr_events\".* from \"nostr_events\" where \"nostr_events\".\"kind\" = any($64) and \"nostr_events\".\"pubkey\" = any($65) order by \"nostr_events\".\"created_at\" desc, \"nostr_events\".\"id\" asc limit $66) as \"e\" union all select * from (select \"nostr_events\".* from \"nostr_events\" where \"nostr_events\".\"kind\" = any($67) and (\"nostr_events\".\"tags_index\" @> $68 or \"nostr_events\".\"tags_index\" @> $69 or \"nostr_events\".\"tags_index\" @> $70 or \"nostr_events\".\"tags_index\" @> $71 or \"nostr_events\".\"tags_index\" @> $72 or \"nostr_events\".\"tags_index\" @> $73 or \"nostr_events\".\"tags_index\" @> $74 or \"nostr_events\".\"tags_index\" @> $75 or \"nostr_events\".\"tags_index\" @> $76 or \"nostr_events\".\"tags_index\" @> $77 or \"nostr_events\".\"tags_index\" @> $78 or \"nostr_events\".\"tags_index\" @> $79 or \"nostr_events\".\"tags_index\" @> $80 or \"nostr_events\".\"tags_index\" @> $81 or \"nostr_events\".\"tags_index\" @> $82 or \"nostr_events\".\"tags_index\" @> $83 or \"nostr_events\".\"tags_index\" @> $84 or \"nostr_events\".\"tags_index\" @> $85 or \"nostr_events\".\"tags_index\" @> $86 or \"nostr_events\".\"tags_index\" @> $87 or \"nostr_events\".\"tags_index\" @> $88 or \"nostr_events\".\"tags_index\" @> $89 or \"nostr_events\".\"tags_index\" @> $90 or \"nostr_events\".\"tags_index\" @> $91 or \"nostr_events\".\"tags_index\" @> $92 or \"nostr_events\".\"tags_index\" @> $93 or \"nostr_events\".\"tags_index\" @> $94 or \"nostr_events\".\"tags_index\" @> $95 or \"nostr_events\".\"tags_index\" @> $96 or \"nostr_events\".\"tags_index\" @> $97 or \"nostr_events\".\"tags_index\" @> $98 or \"nostr_events\".\"tags_index\" @> $99 or \"nostr_events\".\"tags_index\" @> $100 or \"nostr_events\".\"tags_index\" @> $101 or \"nostr_events\".\"tags_index\" @> $102 or \"nostr_events\".\"tags_index\" @> $103 or \"nostr_events\".\"tags_index\" @> $104 or \"nostr_events\".\"tags_index\" @> $105 or \"nostr_events\".\"tags_index\" @> $106 or \"nostr_events\".\"tags_index\" @> $107 or \"nostr_events\".\"tags_index\" @> $108 or \"nostr_events\".\"tags_index\" @> $109 or \"nostr_events\".\"tags_index\" @> $110 or \"nostr_events\".\"tags_index\" @> $111 or \"nostr_events\".\"tags_index\" @> $112 or \"nostr_events\".\"tags_index\" @> $113 or \"nostr_events\".\"tags_index\" @> $114 or \"nostr_events\".\"tags_index\" @> $115 or \"nostr_events\".\"tags_index\" @> $116 or \"nostr_events\".\"tags_index\" @> $117 or \"nostr_events\".\"tags_index\" @> $118 or \"nostr_events\".\"tags_index\" @> $119 or \"nostr_events\".\"tags_index\" @> $120 or \"nostr_events\".\"tags_index\" @> $121 or \"nostr_events\".\"tags_index\" @> $122 or \"nostr_events\".\"tags_index\" @> $123 or \"nostr_events\".\"tags_index\" @> $124 or \"nostr_events\".\"tags_index\" @> $125 or \"nostr_events\".\"tags_index\" @> $126 or \"nostr_events\".\"tags_index\" @> $127 or \"nostr_events\".\"tags_index\" @> $128 or \"nostr_events\".\"tags_index\" @> $129 or \"nostr_events\".\"tags_index\" @> $130 or \"nostr_events\".\"tags_index\" @> $131 or \"nostr_events\".\"tags_index\" @> $132 or \"nostr_events\".\"tags_index\" @> $133 or \"nostr_events\".\"tags_index\" @> $134 or \"nostr_events\".\"tags_index\" @> $135 or \"nostr_events\".\"tags_index\" @> $136 or \"nostr_events\".\"tags_index\" @> $137 or \"nostr_events\".\"tags_index\" @> $138 or \"nostr_events\".\"tags_index\" @> $139 or \"nostr_events\".\"tags_index\" @> $140 or \"nostr_events\".\"tags_index\" @> $141 or \"nostr_events\".\"tags_index\" @> $142 or \"nostr_events\".\"tags_index\" @> $143 or \"nostr_events\".\"tags_index\" @> $144 or \"nostr_events\".\"tags_index\" @> $145 or \"nostr_events\".\"tags_index\" @> $146 or \"nostr_events\".\"tags_index\" @> $147 or \"nostr_events\".\"tags_index\" @> $148 or \"nostr_events\".\"tags_index\" @> $149 or \"nostr_events\".\"tags_index\" @> $150 or \"nostr_events\".\"tags_index\" @> $151) order by \"nostr_events\".\"created_at\" desc, \"nostr_events\".\"id\" asc limit $152) as \"e\") as \"e\" limit $153", - "parameters": [ - [1311, 30311], - [ - "02f0a63d98f72eb5224509914b4c93763130442e984ad8795176a4b1f91bde2c", - "068334b2f9cd5e30b43866c4b60bd31234e29be9bc11b06af037ec248df4f7ae", - "175f568d77fb0cb7400f0ddd8aed1738cd797532b314ef053a1669d4dba7433a", - "1e7168756bccf2309ca35661d06bab6bcd0448420ab349aabddaaf02746b1515", - "3ebc74907d1f928f209ef210e872cac033eaf3ff89e6853286d45d91e351ef9e", - "4a565f2661964aef0c3ee87b99c9a5731aa8dd8a80326f96a46fd7f207e8613a", - "7de29c8960c03250fe4d056b2fc03205534a0438164e7f9fd172c3f1f3707aeb", - "874943db57c24414f2892f122781be219f5c84b167ab7918f2ce0d9399f4404f", - "877308276be50ce9bafa7e5e374e4fcbf5e9859a21918f34baefd000746b7d35", - "b0962615c3193c379b247f2e464ef5096cff45cd5b2d715d8c80c057b0a562b9", - "c1fc7771f5fa418fd3ac49221a18f19b42ccb7a663da8f04cbbf6c08c80d20b1", - "f4df339e62003bbee1ab82df38a8a7bcae2a297932d86ba78d1484195509ce38", - "f728d9e6e7048358e70930f5ca64b097770d989ccd86854fe618eda9c8a38106", - "fe3254bc4e54721b976e6b2ca04ef7040fcc00c49e10498cc8134036592000ec" - ], - 300, - [30311], - { "p": ["068334b2f9cd5e30b43866c4b60bd31234e29be9bc11b06af037ec248df4f7ae"] }, - { "p": ["b111f67497d54b95ce4954853f9270199fc16a2cee6fcc2832bb9ab91581b9ce"] }, - { "p": ["1d485daf0a86dea7b549eaa80b8b215c7518f5bedc179470efe0f4f854130429"] }, - { "p": ["3ebc74907d1f928f209ef210e872cac033eaf3ff89e6853286d45d91e351ef9e"] }, - { "p": ["f2c96c97f6419a538f84cf3fa72e2194605e1848096e6e5170cce5b76799d400"] }, - { "p": ["877308276be50ce9bafa7e5e374e4fcbf5e9859a21918f34baefd000746b7d35"] }, - { "p": ["02f0a63d98f72eb5224509914b4c93763130442e984ad8795176a4b1f91bde2c"] }, - { "p": ["9358c67695d9e78bde2bf3ce1eb0a5059553687632a177e7d25deeff9f2912fc"] }, - { "p": ["f3b633c30007c2fbedbbd028c2e973066504c15138b22d5c24f16a65f1a90ec4"] }, - { "p": ["805e3c98b42a2175a081666b4e077bab32136ea6cf4b9976a952569917d9e329"] }, - { "p": ["7de29c8960c03250fe4d056b2fc03205534a0438164e7f9fd172c3f1f3707aeb"] }, - { "p": ["39cc53c9e3f7d4980b21bea5ebc8a5b9cdf7fa6539430b5a826e8ad527168656"] }, - { "p": ["175f568d77fb0cb7400f0ddd8aed1738cd797532b314ef053a1669d4dba7433a"] }, - { "p": ["83d8bb23328c67ece2adf1306db97e3f027b853d8bdaf226d01c2e0f2ceade2e"] }, - { "p": ["b83a28b7e4e5d20bd960c5faeb6625f95529166b8bdb045d42634a2f35919450"] }, - { "p": ["be7bf5de068c1d842ed34a7c270507ec940f5ea51671cfd062a95e9d09420d0a"] }, - { "p": ["4b03001ce314dc42cf52e78234fdc1ed3e6a8c9556ef9e9a3b7de641cca3da71"] }, - { "p": ["59c2e15ad7bc0b5c97b8438b2763a5c409ff76ab985ab5f1f47c4bcdd25e6e8d"] }, - { "p": ["f728d9e6e7048358e70930f5ca64b097770d989ccd86854fe618eda9c8a38106"] }, - { "p": ["4a565f2661964aef0c3ee87b99c9a5731aa8dd8a80326f96a46fd7f207e8613a"] }, - { "p": ["b0962615c3193c379b247f2e464ef5096cff45cd5b2d715d8c80c057b0a562b9"] }, - { "p": ["58ead82fa15b550094f7f5fe4804e0fe75b779dbef2e9b20511eccd69e6d08f9"] }, - { "p": ["a9434ee165ed01b286becfc2771ef1705d3537d051b387288898cc00d5c885be"] }, - { "p": ["f7849c6c90c4ffe3be8059bd899d85d3fd38c0bb79749f9e79653820351ad8f8"] }, - { "p": ["d9a3041b0aa3cdf3b74bb3ad043da8a40ca149c891b2049b29f346b79225218c"] }, - { "p": ["8c1f616306523c19b9cba6e5c72d7f8efd55940620f40f24a5f1f253ac921ba2"] }, - { "p": ["787338757fc25d65cd929394d5e7713cf43638e8d259e8dcf5c73b834eb851f2"] }, - { "p": ["266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5"] }, - { "p": ["b9a537523bba2fcdae857d90d8a760de4f2139c9f90d986f747ce7d0ec0d173d"] }, - { "p": ["af740d198babb8c7b82d0a4718eb354bb3f6af9a98639b85d4a5cf1371caba85"] }, - { "p": ["fe3254bc4e54721b976e6b2ca04ef7040fcc00c49e10498cc8134036592000ec"] }, - { "p": ["5b0e8da6fdfba663038690b37d216d8345a623cc33e111afd0f738ed7792bc54"] }, - { "p": ["1e7168756bccf2309ca35661d06bab6bcd0448420ab349aabddaaf02746b1515"] }, - { "p": ["06bc9ab7c06cbaa8fb9089ea326736340473fc54b77ae1e093766b70427c48f5"] }, - { "p": ["f985d309197c805e1719c73185b574fc3ee407d7c1b6157dee99c6ace2599bbb"] }, - { "p": ["c6f7077f1699d50cf92a9652bfebffac05fc6842b9ee391089d959b8ad5d48fd"] }, - { "p": ["c1fc7771f5fa418fd3ac49221a18f19b42ccb7a663da8f04cbbf6c08c80d20b1"] }, - { "p": ["22ada61c62ff6c743d28981309269744278b49172a53a44c5f61517628021425"] }, - { "p": ["874943db57c24414f2892f122781be219f5c84b167ab7918f2ce0d9399f4404f"] }, - { "p": ["ee85604f8ec6e4e24f8eaf2a624d042ebd431dae448fe11779adcfb6bb78575e"] }, - { "p": ["eab0e756d32b80bcd464f3d844b8040303075a13eabc3599a762c9ac7ab91f4f"] }, - { "p": ["d8a6ecf0c396eaa8f79a4497fe9b77dc977633451f3ca5c634e208659116647b"] }, - { "p": ["de90c5db36a4011f9d584dfc18de1a5724686867984793ef526331b51f8b43e9"] }, - { "p": ["f6900e6b42a83a6d66589714de49ac86919c6464857d9e164b953bcf9c7e939d"] }, - { "p": ["977b690ce1f7d254efb8e4ed985240b0084424e4151ab118ca7b62129d267f3d"] }, - { "p": ["4506e04e4b7079ce07e38e9875678a81ad33a456c696d708ef8e9a2d8c16ba04"] }, - { "p": ["76596e4aec7ff38009c0b20c49c80331ff92cdd58535d9f83b824d07a92a8e88"] }, - { "p": ["f4df339e62003bbee1ab82df38a8a7bcae2a297932d86ba78d1484195509ce38"] }, - { "p": ["e0cf1bd90cced52f578c2e090593b0cd169780317d43ac46927abff2d61da062"] }, - 100, - [42], - [ - "02f0a63d98f72eb5224509914b4c93763130442e984ad8795176a4b1f91bde2c", - "068334b2f9cd5e30b43866c4b60bd31234e29be9bc11b06af037ec248df4f7ae", - "175f568d77fb0cb7400f0ddd8aed1738cd797532b314ef053a1669d4dba7433a", - "1e7168756bccf2309ca35661d06bab6bcd0448420ab349aabddaaf02746b1515", - "3ebc74907d1f928f209ef210e872cac033eaf3ff89e6853286d45d91e351ef9e", - "4a565f2661964aef0c3ee87b99c9a5731aa8dd8a80326f96a46fd7f207e8613a", - "7de29c8960c03250fe4d056b2fc03205534a0438164e7f9fd172c3f1f3707aeb", - "874943db57c24414f2892f122781be219f5c84b167ab7918f2ce0d9399f4404f", - "877308276be50ce9bafa7e5e374e4fcbf5e9859a21918f34baefd000746b7d35", - "b0962615c3193c379b247f2e464ef5096cff45cd5b2d715d8c80c057b0a562b9", - "c1fc7771f5fa418fd3ac49221a18f19b42ccb7a663da8f04cbbf6c08c80d20b1", - "f4df339e62003bbee1ab82df38a8a7bcae2a297932d86ba78d1484195509ce38", - "f728d9e6e7048358e70930f5ca64b097770d989ccd86854fe618eda9c8a38106", - "fe3254bc4e54721b976e6b2ca04ef7040fcc00c49e10498cc8134036592000ec" - ], - 500, - ["5a5cc47d07308f553c294758f6e0bb066cc7aa760e2cae9b29b7c79df7dfb69d"], - [40, 42], - 1, - [30402], - [ - "02f0a63d98f72eb5224509914b4c93763130442e984ad8795176a4b1f91bde2c", - "068334b2f9cd5e30b43866c4b60bd31234e29be9bc11b06af037ec248df4f7ae", - "175f568d77fb0cb7400f0ddd8aed1738cd797532b314ef053a1669d4dba7433a", - "1e7168756bccf2309ca35661d06bab6bcd0448420ab349aabddaaf02746b1515", - "3ebc74907d1f928f209ef210e872cac033eaf3ff89e6853286d45d91e351ef9e", - "4a565f2661964aef0c3ee87b99c9a5731aa8dd8a80326f96a46fd7f207e8613a", - "7de29c8960c03250fe4d056b2fc03205534a0438164e7f9fd172c3f1f3707aeb", - "874943db57c24414f2892f122781be219f5c84b167ab7918f2ce0d9399f4404f", - "877308276be50ce9bafa7e5e374e4fcbf5e9859a21918f34baefd000746b7d35", - "b0962615c3193c379b247f2e464ef5096cff45cd5b2d715d8c80c057b0a562b9", - "c1fc7771f5fa418fd3ac49221a18f19b42ccb7a663da8f04cbbf6c08c80d20b1", - "f4df339e62003bbee1ab82df38a8a7bcae2a297932d86ba78d1484195509ce38", - "f728d9e6e7048358e70930f5ca64b097770d989ccd86854fe618eda9c8a38106", - "fe3254bc4e54721b976e6b2ca04ef7040fcc00c49e10498cc8134036592000ec" - ], - 300, - [34550, 4550], - [ - "02f0a63d98f72eb5224509914b4c93763130442e984ad8795176a4b1f91bde2c", - "068334b2f9cd5e30b43866c4b60bd31234e29be9bc11b06af037ec248df4f7ae", - "175f568d77fb0cb7400f0ddd8aed1738cd797532b314ef053a1669d4dba7433a", - "1e7168756bccf2309ca35661d06bab6bcd0448420ab349aabddaaf02746b1515", - "3ebc74907d1f928f209ef210e872cac033eaf3ff89e6853286d45d91e351ef9e", - "4a565f2661964aef0c3ee87b99c9a5731aa8dd8a80326f96a46fd7f207e8613a", - "7de29c8960c03250fe4d056b2fc03205534a0438164e7f9fd172c3f1f3707aeb", - "874943db57c24414f2892f122781be219f5c84b167ab7918f2ce0d9399f4404f", - "877308276be50ce9bafa7e5e374e4fcbf5e9859a21918f34baefd000746b7d35", - "b0962615c3193c379b247f2e464ef5096cff45cd5b2d715d8c80c057b0a562b9", - "c1fc7771f5fa418fd3ac49221a18f19b42ccb7a663da8f04cbbf6c08c80d20b1", - "f4df339e62003bbee1ab82df38a8a7bcae2a297932d86ba78d1484195509ce38", - "f728d9e6e7048358e70930f5ca64b097770d989ccd86854fe618eda9c8a38106", - "fe3254bc4e54721b976e6b2ca04ef7040fcc00c49e10498cc8134036592000ec" - ], - 300, - [40, 41, 42], - { "t": ["krux"] }, - { "t": ["krux"] }, - { "t": ["KRUX"] }, - { "t": ["Krux"] }, - { "t": ["seedsigner"] }, - { "t": ["seedsigner"] }, - { "t": ["SEEDSIGNER"] }, - { "t": ["Seedsigner"] }, - { "t": ["wallet"] }, - { "t": ["wallet"] }, - { "t": ["WALLET"] }, - { "t": ["Wallet"] }, - { "t": ["thinkpad"] }, - { "t": ["thinkpad"] }, - { "t": ["THINKPAD"] }, - { "t": ["Thinkpad"] }, - { "t": ["linux"] }, - { "t": ["linux"] }, - { "t": ["LINUX"] }, - { "t": ["Linux"] }, - { "t": ["gentoo"] }, - { "t": ["gentoo"] }, - { "t": ["GENTOO"] }, - { "t": ["Gentoo"] }, - { "t": ["monero"] }, - { "t": ["monero"] }, - { "t": ["MONERO"] }, - { "t": ["Monero"] }, - { "t": ["cakewallet"] }, - { "t": ["cakewallet"] }, - { "t": ["CAKEWALLET"] }, - { "t": ["Cakewallet"] }, - { "t": ["havenoretro"] }, - { "t": ["havenoretro"] }, - { "t": ["HAVENORETRO"] }, - { "t": ["Havenoretro"] }, - { "t": ["amethyst"] }, - { "t": ["amethyst"] }, - { "t": ["AMETHYST"] }, - { "t": ["Amethyst"] }, - { "t": ["docchain"] }, - { "t": ["docchain"] }, - { "t": ["DOCCHAIN"] }, - { "t": ["Docchain"] }, - { "t": ["foamed"] }, - { "t": ["foamed"] }, - { "t": ["FOAMED"] }, - { "t": ["Foamed"] }, - { "t": ["obsidian"] }, - { "t": ["obsidian"] }, - { "t": ["OBSIDIAN"] }, - { "t": ["Obsidian"] }, - { "t": ["4runner"] }, - { "t": ["4runner"] }, - { "t": ["4RUNNER"] }, - { "t": ["4runner"] }, - { "t": ["stackwallet"] }, - { "t": ["stackwallet"] }, - { "t": ["STACKWALLET"] }, - { "t": ["Stackwallet"] }, - { "t": ["tinyseed"] }, - { "t": ["tinyseed"] }, - { "t": ["TINYSEED"] }, - { "t": ["Tinyseed"] }, - { "t": ["keystone"] }, - { "t": ["keystone"] }, - { "t": ["KEYSTONE"] }, - { "t": ["Keystone"] }, - { "t": ["xmrsigner"] }, - { "t": ["xmrsigner"] }, - { "t": ["XMRSIGNER"] }, - { "t": ["Xmrsigner"] }, - { "t": ["zapchat"] }, - { "t": ["zapchat"] }, - { "t": ["ZAPCHAT"] }, - { "t": ["Zapchat"] }, - { "t": ["zellij"] }, - { "t": ["zellij"] }, - { "t": ["ZELLIJ"] }, - { "t": ["Zellij"] }, - { "t": ["gunstr"] }, - { "t": ["gunstr"] }, - { "t": ["GUNSTR"] }, - { "t": ["Gunstr"] }, - 300, - 100 - ], - "error": { - "name": "PostgresError", - "message": "canceling statement due to statement timeout", - "stack": "PostgresError: canceling statement due to statement timeout\n at ErrorResponse (https://gitlab.com/soapbox-pub/postgres.js/-/raw/e79d7d2039446fbf7a37d4eca0d17e94a94b8b53/deno/src/connection.js:793:26)\n at handle (https://gitlab.com/soapbox-pub/postgres.js/-/raw/e79d7d2039446fbf7a37d4eca0d17e94a94b8b53/deno/src/connection.js:479:6)\n at data (https://gitlab.com/soapbox-pub/postgres.js/-/raw/e79d7d2039446fbf7a37d4eca0d17e94a94b8b53/deno/src/connection.js:318:9)\n at https://gitlab.com/soapbox-pub/postgres.js/-/raw/e79d7d2039446fbf7a37d4eca0d17e94a94b8b53/deno/polyfills.js:138:30\n at Array.forEach ()\n at call (https://gitlab.com/soapbox-pub/postgres.js/-/raw/e79d7d2039446fbf7a37d4eca0d17e94a94b8b53/deno/polyfills.js:138:16)\n at success (https://gitlab.com/soapbox-pub/postgres.js/-/raw/e79d7d2039446fbf7a37d4eca0d17e94a94b8b53/deno/polyfills.js:98:9)\n at eventLoopTick (ext:core/01_core.js:177:7)" - }, - "duration": 1.0028296069999996 -} diff --git a/packages/ditto/controllers/frontend.ts b/packages/ditto/controllers/frontend.ts index 413b4ade..ec9f11a5 100644 --- a/packages/ditto/controllers/frontend.ts +++ b/packages/ditto/controllers/frontend.ts @@ -18,7 +18,7 @@ export const frontendController: AppMiddleware = async (c) => { c.header('Cache-Control', 'max-age=86400, s-maxage=30, public, stale-if-error=604800'); try { - const content = await Deno.readTextFile(new URL('../../public/index.html', import.meta.url)); + const content = await Deno.readTextFile(new URL('../../../public/index.html', import.meta.url)); if (content.includes(META_PLACEHOLDER)) { const params = getPathParams(c.req.path);