Browse Source
- Changed asset paths from `/public/assets` to `/public/upload` across various files to ensure consistency in media storage. - Introduced visibility handling for posts, allowing for better control over comment visibility based on post status. - Enhanced markdown export functionality with new utilities for exporting unlisted posts and normalizing image URLs. - Updated tests to reflect changes in asset paths and visibility logic. These updates improve the overall media management and user experience in handling post visibility and markdown exports.main
15 changed files with 180 additions and 42 deletions
@ -1,7 +1,7 @@ |
|||
# DATABASE_URL=postgresql://postgres:xxxxxx@localhost:6666/postgres |
|||
DATABASE_URL=file:./db.sqlite |
|||
NITRO_PORT=3399 |
|||
# 站点对外根 URL(含协议与域名,可带端口)。用于:① 媒体库复制绝对链接 ② 文章/资料里绝对地址图片是否计为本站 /public/assets/ 引用。生产环境务必设置,与浏览器访问地址一致。 |
|||
# 站点对外根 URL(含协议与域名,可带端口)。用于:① 媒体库复制绝对链接 ② 文章/资料里绝对地址图片是否计为本站 /public/upload/ 引用。生产环境务必设置,与浏览器访问地址一致。 |
|||
NUXT_PUBLIC_SITE_URL=https://example.com |
|||
# Optional: first admin for an empty instance. Creates an admin only when no user has role=admin yet (same username/password rules as registration). |
|||
BOOTSTRAP_ADMIN_USERNAME= |
|||
|
|||
Binary file not shown.
Loading…
Reference in new issue