feat(lotus): accept decorations from chat.lotusguild.org (matrix #22)
Decorations moved off Nextcloud to https://chat.lotusguild.org/decorations. Add that origin to ALLOWED_DECORATION_ORIGINS (first, so tests use it); keep drive.lotusguild.org until no host build points there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
dbf77cdc60
commit
090edc5c2c
@@ -45,7 +45,11 @@ export function useLotusDecoration(userId: string): string | undefined {
|
||||
// to the actual decoration CDN origin(s) — cinny's `DECORATION_CDN`
|
||||
// (`avatarDecorations.ts`) — plus `blob:`, which EC itself may use for local
|
||||
// previews. Exported so a future CDN move is a one-line edit here.
|
||||
//
|
||||
// matrix #22: decorations moved off Nextcloud to chat.lotusguild.org/decorations
|
||||
// (first entry). drive.lotusguild.org stays until no host build points there.
|
||||
export const ALLOWED_DECORATION_ORIGINS: readonly string[] = [
|
||||
"https://chat.lotusguild.org",
|
||||
"https://drive.lotusguild.org",
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user