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
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
"author": "Blinko Space",
|
"author": "Blinko Space",
|
||||||
"description": "AI-powered card note-taking application for capturing fleeting thoughts with RAG-enhanced search, markdown support, and self-hosted privacy.",
|
"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",
|
"tagline": "AI-powered note-taking",
|
||||||
"version": "1.0.0",
|
"version": "1.0.8",
|
||||||
"healthCheckPath": "/",
|
"healthCheckPath": "/",
|
||||||
"httpPort": 8000,
|
"httpPort": 8000,
|
||||||
"addons": {
|
"addons": {
|
||||||
@@ -24,5 +24,5 @@
|
|||||||
"memoryLimit": 512000000,
|
"memoryLimit": 512000000,
|
||||||
"minBoxVersion": "7.0.0",
|
"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.",
|
"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)"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,6 +51,13 @@ http {
|
|||||||
add_header Content-Type text/plain;
|
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
|
# Proxy all requests to Blinko
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://blinko;
|
proxy_pass http://blinko;
|
||||||
|
|||||||
Reference in New Issue
Block a user