Remove now unnecessary deployServer configuration

This commit is contained in:
Alex Gleason committed 2025-10-18 23:08:04 -05:00
1 parent a23f5d792d
commit f3ac3f1815
8 files changed
-50

No files matched your search

-1
View File
@@ -44,7 +44,6 @@ const defaultConfig: AppConfig = {
theme: "system",
relayUrl: "wss://relay.ditto.pub",
projectTemplate: "https://gitlab.com/soapbox-pub/mkstack.git",
deployServer: "shakespeare.wtf",
esmUrl: "https://esm.shakespeare.diy",
corsProxy: "https://proxy.shakespeare.diy/?url={href}",
previewDomain: "local-shakespeare.dev",
-1
View File
@@ -19,7 +19,6 @@ const AppConfigSchema = z.object({
theme: z.enum(['dark', 'light', 'system']),
relayUrl: z.string().url(),
projectTemplate: z.string().url(),
deployServer: z.string().min(1),
esmUrl: z.string().url(),
corsProxy: z.string().url(),
previewDomain: z.string().min(1),
-2
View File
@@ -9,8 +9,6 @@ export interface AppConfig {
relayUrl: string;
/** Git repository URL to use as project template */
projectTemplate: string;
/** Deploy server domain (e.g., "shakespeare.wtf") */
deployServer: string;
/** ESM CDN URL for package imports */
esmUrl: string;
/** HTTP proxy used to bypass CORS for AI and Git operations */
-1
View File
@@ -43,7 +43,6 @@ describe('useAIProjectId', () => {
theme: 'dark',
relayUrl: 'wss://relay.damus.io',
projectTemplate: 'https://github.com/example/template',
deployServer: 'shakespeare.wtf',
esmUrl: 'https://esm.sh',
corsProxy: 'https://proxy.example.com/{href}',
previewDomain: 'local-shakespeare.dev',
-1
View File
@@ -35,7 +35,6 @@ function createWrapper(corsProxy: string) {
theme: 'light',
relayUrl: 'wss://relay.test',
projectTemplate: 'https://gitlab.com/soapbox-pub/mkstack.git',
deployServer: 'test.com',
esmUrl: 'https://esm.test',
corsProxy,
previewDomain: 'local-test.dev',
-12
View File
@@ -38,8 +38,6 @@ const resources = {
previewDomainDescription: 'Domain used for iframe preview sandboxing.',
corsProxy: 'CORS Proxy',
corsProxyDescription: 'HTTP proxy URL for bypassing CORS restrictions.',
deployServer: 'Deploy Server',
deployServerDescription: 'Server domain where projects will be deployed.',
// Language Options
english: 'English',
@@ -562,8 +560,6 @@ const resources = {
projectTemplateDescription: 'URL do repositório Git a ser usado como modelo inicial para novos projetos.',
corsProxy: 'Proxy CORS',
corsProxyDescription: 'Proxy usado para contornar CORS para operações de IA e Git.',
deployServer: 'Servidor de Deploy',
deployServerDescription: 'Domínio do servidor onde os projetos serão implantados.',
// Data Settings
dataSettingsDescriptionLong: 'Exporte arquivos e gerencie dados locais.',
@@ -900,8 +896,6 @@ const resources = {
projectTemplateDescription: '用作新项目起始模板的Git仓库URL。',
corsProxy: 'CORS代理',
corsProxyDescription: '用于绕过CORS的代理,适用于AI和Git操作。',
deployServer: '部署服务器',
deployServerDescription: '项目将部署到的服务器域名。',
// Data Settings
dataSettingsDescriptionLong: '导出文件和管理本地数据。',
@@ -1235,8 +1229,6 @@ const resources = {
projectTemplateDescription: 'URL ɗin ma\'ajin Git da za a yi amfani da shi azaman samfurin farawa don sababbin ayyuka.',
corsProxy: 'CORS Proxy',
corsProxyDescription: 'Proxy da ake amfani da shi don ketare CORS don ayyukan AI da Git.',
deployServer: 'Sabar Turawa',
deployServerDescription: 'Wurin sabar da za a tura ayyuka zuwa.',
// Data Settings
dataSettingsDescriptionLong: 'Fitar da fayiloli da sarrafa bayanan gida.',
@@ -1570,8 +1562,6 @@ const resources = {
projectTemplateDescription: 'URL ibi ipamọ Git lati lo bi awoṣe ibẹrẹ fun awọn iṣẹ akanṣe tuntun.',
corsProxy: 'CORS Proxy',
corsProxyDescription: 'Olupin proxy ti a lo lati kọja CORS fun awọn iṣẹ AI ati Git.',
deployServer: 'Olupin Ifilọlẹ',
deployServerDescription: 'Aaye olupin nibiti a o fi awọn iṣẹ akanṣe ranṣẹ si.',
// Data Settings
dataSettingsDescriptionLong: 'Gbe awọn faili jade ati ṣakoso data agbegbe.',
@@ -1900,8 +1890,6 @@ const resources = {
projectTemplateDescription: 'URL nchekwa Git iji mee ka ụdịdị mmalite maka ọrụ ọhụrụ.',
corsProxy: 'CORS Proxy',
corsProxyDescription: 'Sava proxy ejiri gafere CORS maka ọrụ AI na Git.',
deployServer: 'Sava Nnyefe',
deployServerDescription: 'Ngalaba sava ebe a ga-eziga ọrụ.',
// Data Settings
dataSettingsDescriptionLong: 'Bupụta faịlụ ma jikwaa data mpaghara.',
-31
View File
@@ -19,7 +19,6 @@ export function SystemSettings() {
const [esmUrlInput, setEsmUrlInput] = useState(config.esmUrl);
const [corsProxyInput, setCorsProxyInput] = useState(config.corsProxy);
const [previewDomainInput, setPreviewDomainInput] = useState(config.previewDomain);
const [deployServerInput, setDeployServerInput] = useState(config.deployServer);
const [showcaseModeratorInput, setShowcaseModeratorInput] = useState(config.showcaseModerator);
return (
@@ -181,36 +180,6 @@ export function SystemSettings() {
</AccordionItem>
</Accordion>
{/* Deploy Server Configuration */}
<Accordion type="single" collapsible className="w-full">
<AccordionItem value="deploy-server" className="border rounded-lg">
<AccordionTrigger className="px-4 py-3 hover:no-underline">
<h4 className="text-sm font-medium">{t('deployServer')}</h4>
</AccordionTrigger>
<AccordionContent className="px-4 pb-4">
<div className="py-1 space-y-2">
<Input
id="deploy-server"
type="text"
placeholder="shakespeare.wtf"
value={deployServerInput}
onChange={(e) => {
const value = e.target.value;
setDeployServerInput(value);
updateConfig((current) => ({
...current,
deployServer: value,
}));
}}
/>
<p className="text-xs text-muted-foreground">
{t('deployServerDescription')}
</p>
</div>
</AccordionContent>
</AccordionItem>
</Accordion>
{/* Showcase Configuration */}
<Accordion type="single" collapsible className="w-full">
<AccordionItem value="showcase" className="border rounded-lg">
-1
View File
@@ -31,7 +31,6 @@ export function TestApp({ children }: TestAppProps) {
theme: 'light',
relayUrl: 'wss://relay.nostr.band',
projectTemplate: 'https://gitlab.com/soapbox-pub/mkstack.git',
deployServer: 'shakespeare.wtf',
esmUrl: 'https://esm.shakespeare.diy',
corsProxy: 'https://proxy.shakespeare.diy/?url={href}',
previewDomain: 'local-shakespeare.dev',