From 1884e355e5c4b8b664d900fc8b2569b7b32983db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20D=C3=BCren?= Date: Mon, 29 Dec 2025 18:08:57 -0600 Subject: [PATCH] v1.0.8: Add NGINX location for vditor markdown editor assets - Serve /dist/ from node_modules/vditor/dist to fix lute.min.js 502 error - The vditor editor dynamically loads lute parser at /dist/js/lute/lute.min.js --- CloudronManifest.json | 4 ++-- nginx.conf | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CloudronManifest.json b/CloudronManifest.json index 4c1da29..08098ff 100644 --- a/CloudronManifest.json +++ b/CloudronManifest.json @@ -4,7 +4,7 @@ "author": "Blinko Space", "description": "AI-powered card note-taking application for capturing fleeting thoughts with RAG-enhanced search, markdown support, and self-hosted privacy.", "tagline": "AI-powered note-taking", - "version": "1.0.0", + "version": "1.0.8", "healthCheckPath": "/", "httpPort": 8000, "addons": { @@ -24,5 +24,5 @@ "memoryLimit": 512000000, "minBoxVersion": "7.0.0", "postInstallMessage": "Blinko has been installed successfully!\n\nVisit your Blinko instance to create your first account.\nThe first user to register will become the administrator.\n\nData is stored in /app/data and will be backed up automatically.", - "changelog": "1.0.0: Initial Cloudron package" + "changelog": "1.0.8: Add NGINX location for vditor static files (lute.min.js)" } diff --git a/nginx.conf b/nginx.conf index 385338c..ec5c8ea 100644 --- a/nginx.conf +++ b/nginx.conf @@ -51,6 +51,13 @@ http { add_header Content-Type text/plain; } + # Serve vditor static files (markdown editor library) + location /dist/ { + alias /app/code/node_modules/vditor/dist/; + expires 7d; + add_header Cache-Control "public, immutable"; + } + # Proxy all requests to Blinko location / { proxy_pass http://blinko;