18 Commits

Author SHA1 Message Date
austinkelsay
094d2eaa37 Increase rate limit range, fix bug with content search if no summary is present 2024-10-05 19:11:19 -05:00
austinkelsay
129cbd02e2 Fix authorize function 2024-10-05 16:37:44 -05:00
austinkelsay
153be7cb20 Fix auth bg 2024-10-04 16:41:49 -05:00
austinkelsay
08033464c6 Increase number of allowed requests 2024-10-04 14:54:59 -05:00
austinkelsay
a8c9ab7f68 Add cors headers to all api routes, with deployment as origin 2024-10-01 17:52:38 -05:00
austinkelsay
dc61827f86 Log headers for test 2024-10-01 17:44:02 -05:00
austinkelsay
7953bb641f Remove getAllUsers endpoint, add checks to image proxy endpoint, setup local in memory cache for rate limitng in dev, added NODE_ENV variable 2024-09-30 20:35:07 -05:00
austinkelsay
735ed2b7db Update matcher 2024-09-30 19:55:56 -05:00
austinkelsay
30076181dc Update rate limiter 2024-09-30 19:51:23 -05:00
austinkelsay
e59bee30f7 Return back to basic rate limit middleware, setup server session to block user route to test 2024-09-30 19:41:26 -05:00
austinkelsay
41dfcb6918 Update middleware to combine techniques for detecting external requests 2024-09-30 19:28:03 -05:00
austinkelsay
b55a3cd892 Trying x-vercel-protection-bypass to prevent external requests 2024-09-30 19:23:15 -05:00
austinkelsay
a1f47e0dd3 Check host on middleware instead 2024-09-30 19:16:35 -05:00
austinkelsay
5235e76855 update middleware to check origin for now 2024-09-30 19:09:55 -05:00
austinkelsay
5c15b93c48 Log hostname 2024-09-30 19:00:33 -05:00
austinkelsay
b8a7057be1 Fix lnaddress issue on usercreation 2024-09-30 15:29:52 -05:00
austinkelsay
94568408db Log for middleware 2024-09-30 15:02:20 -05:00
austinkelsay
3ce3a2f037 Add rate limiting / origin middleware using vercel kv and upstash, need to deploy to fully test 2024-09-29 16:40:23 -05:00