Commit graph

12 commits

Author SHA1 Message Date
ccbikai
55753ec8bc feat: update dependencies and enhance API documentation in Nuxt configuration 2025-05-20 19:27:27 +08:00
wudi
7cadbfe2b1 refactor: Migrate project files and directories to the app directory using the new compatibilityVersion: 4 feature
- Moved `app.config.ts` to the `app` directory
- Migrated `.vue` files and other assets to the `app` directory
- Updated import paths to reflect the new file locations
2025-03-24 11:05:59 +08:00
ccbikai
8d1bf6a451 feat: improve case-sensitive slug handling
Refactors URL slug case sensitivity implementation:
- Moves case conversion to creation time instead of lookup
- Updates middleware to handle case sensitivity more efficiently
- Adds configuration docs for case sensitivity and list query limits
- Simplifies nanoid implementation to always use lowercase

This change improves performance and consistency in URL handling while maintaining backwards compatibility with existing links.
2024-12-25 12:15:00 +08:00
ccbikai
da16f24577 style: eslint 2024-12-24 21:10:36 +08:00
ccbikai
7ab62c6a07 feat: add debug log for case-insensitive slug fallback
Adds logging when a case-insensitive URL slug fallback is attempted. This helps track when and how often the fallback mechanism is used.

Also improves code readability by renaming variable to match camelCase convention.
2024-12-15 20:38:32 +08:00
ZL Asica
899323faf6
chore: pre-check if slug is same before and after lowercase. 2024-12-06 15:11:07 -06:00
ZL Asica
902fc1bef5
fix: forward compability for case sensitive 2024-12-06 10:19:40 -06:00
ZL Asica
326939feee
feat: add config to switch case sensitivities 2024-12-02 20:24:47 -06:00
Manuel Osorio
cae1828da1
feat: remove leading and trailing slash from slug 2024-09-29 15:10:17 -04: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
bd47e755d5 feat: init 2024-05-25 08:09:30 +08:00