github-profile-trophy-reiyu.../src/config
Ömer 611e5bf0b6
fix: correct content-type for HTML pages and allow password-less redis (#418)
* fix: correct content-type for HTML pages and allow password-less redis

Set Content-Type to 'text/html' instead of 'text' for index and
error page responses, since both return HTML content.

Also change redis username/password fallback from empty string to
undefined so that the driver skips AUTH when no credentials are
configured. An empty string causes AUTH to be sent which fails on
servers with no password set.

Fixes #387, fixes #388

* fix: revert unintended formatting change to pass deno fmt check

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-04 14:51:25 +09:00
..
cache.ts fix: correct content-type for HTML pages and allow password-less redis (#418) 2026-03-04 14:51:25 +09:00