Commit graph

14 commits

Author SHA1 Message Date
ccbikai
e7d71b35d3 feat: add short link to edit link response
Enhances link edit endpoint by including a fully-qualified short link URL in the response, constructed from request protocol and host alongside the slug
2024-12-08 14:44:03 +08:00
ccbikai
337f8f174c fix: refine link creation response structure
Returns link object separately from shortLink in response to maintain clearer API structure and prevent unnecessary data duplication in the response payload
2024-12-08 12:01:17 +08:00
ccbikai
172956b532 feat: add short link to create endpoint response
Enhances the link creation API response by including a formatted short link URL
Combines protocol, host, and slug to create a complete, ready-to-use short URL
2024-12-08 11:56:03 +08:00
ccbikai
19e18546de fix: adjust cursor handling for KV pagination
Moves undefined fallback from client to server side for cursor parameter
Ensures consistent pagination behavior when fetching links from KV storage

This prevents potential edge cases where undefined cursor values could be handled differently between client and server.
2024-12-08 11:37:04 +08:00
Manuel Osorio
cae1828da1
feat: remove leading and trailing slash from slug 2024-09-29 15:10:17 -04:00
ccbikai
b116d4c007 feat: enable AI integration and update dependencies
- Activated AI functionality in Nuxt configuration
- Updated AI model to a newer version for enhanced performance
- Bumped @nuxthub/core to 0.7.3 for critical bug fixes and improvements
2024-08-18 19:01:14 +08:00
ccbikai
52187d1ff6 feat: disable query string redirection by default
Enhances security and performance by preventing query strings from being carried over during redirection, aligning with best practices.
2024-07-20 18:34:49 +08:00
ccbikai
2876385f20 feat: add link cache TTL for performance optimization
Improves response times by introducing a configurable link cache TTL, defaulting to 60 seconds, to ensure quick access to frequently requested links while maintaining responsiveness to updates.
2024-07-20 18:21:40 +08:00
ccbikai
3c0a7be6eb style: remove unnecessary newline for cleaner code 2024-07-20 18:13:05 +08:00
面条
6b3dd8d47e
Merge pull request #23 from dr-data/main
link first
2024-07-20 18:02:24 +08:00
dr-data
ca12fdd876 link first 2024-07-15 00:20:15 +08:00
dr-data
21d8352de0 link first 2024-07-15 00:16:45 +08:00
ccbikai
01be05c0fc chore: Update package dependencies and optimize imports 2024-07-08 20:28:38 +08:00
ccbikai
bd47e755d5 feat: init 2024-05-25 08:09:30 +08:00