mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-22 12:03:25 -04:00
(fix) banner retrieval needs locale
This commit is contained in:
parent
c4de67e29b
commit
bd6e26962f
@ -154,7 +154,7 @@ export default defineEventHandler(async (event) => {
|
||||
const db = useDatabase();
|
||||
|
||||
const key = await getBannerKey(path, db, config, translator, pronounLibrary);
|
||||
const banner = await useStorage('data').getItemRaw<Buffer>(`banner:${key}`);
|
||||
const banner = await useStorage('data').getItemRaw<Buffer>(`banner:${config.locale}:${key}`);
|
||||
appendHeader(event, 'content-type', mime);
|
||||
return banner;
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user