5ea3ef1e45
feat: Add /card API endpoint and static file serving
...
Implement a new `/card` POST endpoint to receive sensitive number data (e.g., credit card details) and securely DM it to the bot owner. Define a `NumberData` Pydantic model for this purpose.
Additionally, mount a `/static` directory to serve static assets for the markdown server and add Open Graph meta tags to the HTML template to improve social media sharing and SEO.
2025-05-21 16:45:20 -06:00
c9d6cc40a6
feat: Add terminal image endpoint and save images
...
Introduces a new API endpoint `/terminal_images` to serve generated terminal output images.
- Creates a new file `api_service/terminal_images_endpoint.py` to handle the static file serving.
- Modifies `api_service/api_server.py` to mount the new endpoint.
- Updates `cogs/terminal_cog.py` to save generated terminal images to a local directory (`terminal_images`) with unique filenames.
- Adds a base URL constant (`API_BASE_URL`) to `cogs/terminal_cog.py` for potential future use in generating image URLs.
2025-05-17 19:29:05 -06:00
8a2d68ed6f
feat: Enhance exception handling for openrouterkey endpoint with improved path processing and logging
2025-05-14 17:43:24 -06:00
161707f71d
feat: Improve exception handling for openrouterkey endpoint with enhanced path checks and logging
2025-05-14 17:41:29 -06:00
f5cfa7a00a
feat: Enhance exception handling for openrouterkey endpoint with case-insensitive path checks
2025-05-14 17:38:21 -06:00
fede9ae99e
feat: Rename openrouter_key endpoint to openrouterkey for consistency
2025-05-14 17:33:30 -06:00
e720d14853
123
2025-05-14 17:32:17 -06:00
d53808268d
feat: Rename endpoint to /openrouter_key and update function name for consistency
2025-05-14 17:23:54 -06:00
1a67e2bd9d
feat: Implement private endpoint for retrieving OpenRouter API key with authorization check
2025-05-14 17:18:01 -06:00
c06a81503f
feat: Enhance route logging to include mounted apps and unknown route types for better debugging
2025-05-14 17:16:12 -06:00
7799588aaa
feat: Add logging for available routes in the main app for debugging purposes
2025-05-14 17:14:05 -06:00
65ccfeba91
feat: Change endpoint to GET for retrieving OpenRouter API key with basic security check
2025-05-14 17:10:12 -06:00
eef8800716
feat: Add private endpoint to retrieve OpenRouter API key with authorization check
2025-05-14 17:07:34 -06:00
edf5e76c7f
as
2025-05-10 22:13:37 -06:00
5300c059c4
a
2025-05-09 17:47:01 -06:00
561bff3dda
a
2025-05-09 17:46:04 -06:00
31905f4f50
1
2025-05-09 17:44:26 -06:00
55b647fe65
a
2025-05-09 17:43:24 -06:00
20d4d353d3
ksm
2025-05-09 17:38:38 -06:00
e3decb81d8
123
2025-05-09 17:21:40 -06:00
6bc445f249
asd
2025-05-09 17:18:22 -06:00
1c1b61c4a8
asd
2025-05-09 17:09:04 -06:00
80083bd14a
asd
2025-05-09 14:17:17 -06:00
a62fe7aca6
Add endpoint to return user-agent from request headers
2025-05-08 21:11:42 -06:00
6cbff30248
aaa
2025-05-07 12:26:29 -06:00
0501b2a0b5
a
2025-05-07 12:13:34 -06:00
afe7e4e94b
a
2025-05-07 11:49:53 -06:00
bb2e9e00dc
aaf
2025-05-07 11:47:21 -06:00
3ac7a38b9d
a
2025-05-06 21:46:03 -06:00
ad981d16e5
aa
2025-05-06 20:57:00 -06:00
f1435122ad
a
2025-05-06 20:38:42 -06:00
641c37437d
a
2025-05-06 19:52:46 -06:00
96cf1d8bf0
hj
2025-05-06 19:43:02 -06:00
b69b68e8f6
a
2025-05-06 19:27:54 -06:00
39ef4cd5e8
a
2025-05-06 19:19:59 -06:00
2330fe48ee
aa
2025-05-06 18:23:30 -06:00
91c2fd9e02
aa
2025-05-06 18:19:43 -06:00
4b62d83565
a
2025-05-06 18:07:26 -06:00
05a180c2d5
aa
2025-05-06 18:03:55 -06:00
cbf6d763fb
a
2025-05-06 17:38:27 -06:00
31f548abef
aa
2025-05-06 17:30:43 -06:00
d813e55ce1
aa
2025-05-06 17:28:23 -06:00
faa863402b
a
2025-05-06 17:22:05 -06:00
2947c410c2
a
2025-05-06 17:20:30 -06:00
079553dfe2
a
2025-05-06 17:15:28 -06:00
2deaa81cac
a
2025-05-06 17:13:10 -06:00
d807248dba
aa
2025-05-06 16:52:54 -06:00
c24fe6863f
aa
2025-05-05 22:40:18 -06:00
5d671b276b
aa
2025-05-05 21:34:20 -06:00
d97555d959
aaa
2025-05-05 20:05:41 -06:00