fix: MinIO CORS blocking browser uploads, changelog admin-only
- MinIO had no CORS config at all, so the browser's direct PUT to a presigned URL (cross-origin: app on :3001/:3000, storage on :9000) was blocked outright. Added MINIO_API_CORS_ALLOW_ORIGIN — "*" in dev, the app's own origin in prod. Verified end-to-end: photo upload now succeeds with zero console errors. - Removed the public /changelog page and its account-menu link — changelog is admin-only now (/admin/changelog). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
import type { Metadata } from "next";
|
||||
import { ChangelogList } from "@/components/shared/changelog-list";
|
||||
import { APP_VERSION } from "@/lib/changelog";
|
||||
|
||||
export const metadata: Metadata = {};
|
||||
|
||||
export default function ChangelogPage() {
|
||||
return (
|
||||
<div className="space-y-2">
|
||||
<div>
|
||||
<h1 className="text-3xl font-bold tracking-tight">Changelog</h1>
|
||||
<p className="text-muted-foreground mt-1">Currently running v{APP_VERSION}.</p>
|
||||
</div>
|
||||
<div className="pt-4">
|
||||
<ChangelogList />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user