Disable exports for now

This commit is contained in:
Alex Gleason 2022-05-24 14:15:39 -04:00
parent 8c00f58162
commit 4873034206
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -84,7 +84,7 @@ import {
EmailConfirmation,
DeleteAccount,
SoapboxConfig,
ExportData,
// ExportData,
ImportData,
// Backups,
MfaForm,
@ -286,7 +286,8 @@ const SwitchingColumnsArea: React.FC = ({ children }) => {
{features.scheduledStatuses && <WrappedRoute path='/scheduled_statuses' page={DefaultPage} component={ScheduledStatuses} content={children} />}
<WrappedRoute path='/settings/profile' page={DefaultPage} component={EditProfile} content={children} />
<WrappedRoute path='/settings/export' page={DefaultPage} component={ExportData} content={children} />
{/* FIXME: this could DDoS our API? :\ */}
{/* <WrappedRoute path='/settings/export' page={DefaultPage} component={ExportData} content={children} /> */}
{features.importData && <WrappedRoute path='/settings/import' page={DefaultPage} component={ImportData} content={children} />}
{features.accountAliasesAPI && <WrappedRoute path='/settings/aliases' page={DefaultPage} component={Aliases} content={children} />}
{features.accountMoving && <WrappedRoute path='/settings/migration' page={DefaultPage} component={Migration} content={children} />}