mirror of
https://github.com/immich-app/immich.git
synced 2024-11-16 02:18:50 -07:00
chore: more cursed knowledge (#11630)
This commit is contained in:
parent
10ed31d725
commit
02fd6d22b3
@ -1,4 +1,4 @@
|
|||||||
import { mdiCalendarToday, mdiLeadPencil, mdiLockOutline, mdiSpeedometerSlow, mdiWeb } from '@mdi/js';
|
import { mdiCalendarToday, mdiLeadPencil, mdiLockOff, mdiLockOutline, mdiSpeedometerSlow, mdiWeb } from '@mdi/js';
|
||||||
import Layout from '@theme/Layout';
|
import Layout from '@theme/Layout';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Item as TimelineItem, Timeline } from '../components/timeline';
|
import { Item as TimelineItem, Timeline } from '../components/timeline';
|
||||||
@ -8,6 +8,18 @@ const withLanguage = (date: Date) => (language: string) => date.toLocaleDateStri
|
|||||||
type Item = Omit<TimelineItem, 'done' | 'getDateLabel'> & { date: Date };
|
type Item = Omit<TimelineItem, 'done' | 'getDateLabel'> & { date: Date };
|
||||||
|
|
||||||
const items: Item[] = [
|
const items: Item[] = [
|
||||||
|
{
|
||||||
|
icon: mdiLockOff,
|
||||||
|
iconColor: 'red',
|
||||||
|
title: 'Fetch inside Cloudflare Workers is cursed',
|
||||||
|
description:
|
||||||
|
'Fetch requests in Cloudflare Workers use http by default, even if you explicitly specify https, which can often cause redirect loops.',
|
||||||
|
link: {
|
||||||
|
url: 'https://community.cloudflare.com/t/does-cloudflare-worker-allow-secure-https-connection-to-fetch-even-on-flexible-ssl/68051/5',
|
||||||
|
text: 'Cloudflare',
|
||||||
|
},
|
||||||
|
date: new Date(2024, 7, 7),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
icon: mdiLeadPencil,
|
icon: mdiLeadPencil,
|
||||||
iconColor: 'gold',
|
iconColor: 'gold',
|
||||||
|
Loading…
Reference in New Issue
Block a user