You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
when we try to host the app under a subpath. localhost:8000/mermaid-live-editor the app makes a requests to the app makes a request to http://localhost:8000/_app/version.json To Reproduce
Nginx.conf:
server {
listen 80;
server_name mermaid;
location /mermaid-live-editor {
alias /usr/share/nginx/html;
index index.html;
# Fallback to index.html for other paths
try_files $uri /index.html;
}
}
new docker file:
FROM ghcr.io/mermaid-js/mermaid-live-editor
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
Link to Live Editor:
Steps to reproduce the behavior:
Go to '...'
Click on '....'
Scroll down to '....'
See error
Expected behavior
would be nice to have a docker image that we can host on a subpath.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: macos
Browser: Chrome
Version Version 109.0.5414.87 (Official Build) (arm64)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
when we try to host the app under a subpath. localhost:8000/mermaid-live-editor the app makes a requests to the app makes a request to http://localhost:8000/_app/version.json
To Reproduce
Nginx.conf:
new docker file:
Link to Live Editor:
Steps to reproduce the behavior:
Expected behavior
would be nice to have a docker image that we can host on a subpath.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: