mirror of
https://github.com/logto-io/logto.git
synced 2025-03-24 22:41:28 -05:00
Merge pull request #6307 from logto-io/charles-log-9679-log-9680-misc-updates
refactor(console,schemas): misc updates for bring your ui feature
This commit is contained in:
commit
c76c8e6a26
2 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@ import { Trans, useTranslation } from 'react-i18next';
|
|||
|
||||
import CustomUiAssetsUploader from '@/components/CustomUiAssetsUploader';
|
||||
import InlineUpsell from '@/components/InlineUpsell';
|
||||
import { isDevFeaturesEnabled } from '@/consts/env';
|
||||
import { isDevFeaturesEnabled, isCloud } from '@/consts/env';
|
||||
import { SubscriptionDataContext } from '@/contexts/SubscriptionDataProvider';
|
||||
import Card from '@/ds-components/Card';
|
||||
import CodeEditor from '@/ds-components/CodeEditor';
|
||||
|
@ -67,7 +67,7 @@ function CustomUiForm() {
|
|||
)}
|
||||
/>
|
||||
</FormField>
|
||||
{isDevFeaturesEnabled && (
|
||||
{isDevFeaturesEnabled && isCloud && (
|
||||
<FormField
|
||||
title="sign_in_exp.custom_ui.bring_your_ui_title"
|
||||
description={
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { z } from 'zod';
|
||||
|
||||
export const maxUploadFileSize = 10 * 1024 * 1024; // 10 MB
|
||||
export const maxUploadFileSize = 20 * 1024 * 1024; // 20 MB
|
||||
|
||||
// Reference: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
|
||||
export const allowUploadMimeTypes = [
|
||||
|
|
Loading…
Add table
Reference in a new issue