Simplify storage path: use ./uploads instead of ./storage/uploads

Since database is now at ./data.db, align uploads path similarly

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Kunthawat Greethong
2026-05-04 07:48:30 +07:00
parent 278fe56591
commit 6f23ea808b
2 changed files with 3 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ export default defineConfig({
emdash({
database: getDatabaseConfig(),
storage: local({
directory: "./storage/uploads",
directory: "./uploads",
baseUrl: "/_emdash/api/media/file",
}),
plugins: [auditLogPlugin()],