Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues in building and hosting on nginx #1366

Closed
TanyaEleventhGoddess opened this issue Dec 28, 2023 · 1 comment
Closed

Issues in building and hosting on nginx #1366

TanyaEleventhGoddess opened this issue Dec 28, 2023 · 1 comment
Labels

Comments

@TanyaEleventhGoddess
Copy link

TanyaEleventhGoddess commented Dec 28, 2023

I'm trying to deploy mermaid-live-editor on an nginx webserver with these commands:

export MERMAID_DOMAIN="http://server.local/mermaid" DEPLOY=true
yarn install
export version=$(yarn version --patch --no-git-tag-version | grep "New version" | cut -d':' -f 2)
yarn build
yarn run lint
cp .svelte-kit/output/client/* $WEBSERVER_ROOT/mermaid/

Obviously there's an index.html file roughly adapted from view-source:https://mermaid.live code
It loads all the javascript files correctly and there are no 404 errors, but upon loading preload-helper js script the browser reloads the page indefinitely

What could be the issue?

Copy link

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days

@github-actions github-actions bot added the Stale label Mar 28, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant