Update README.md

This commit is contained in:
Tom Wright 2024-03-28 12:53:30 +00:00 committed by GitHub
parent e3aa335f03
commit f38a1cd478
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ While this currently serves the diagrams via HTTP, it could easily be manipulate
Run the container:
```
docker run -d --name mermaid-server -p 80:80 tomwright/mermaid-server:latest --allow-all-origins=true
docker run -d --name mermaid-server -p 80:80 tomwright/mermaid-server:latest
```
### Manually as a go command
@ -51,4 +51,4 @@ curl --location --request GET 'http://localhost:80/generate?data=graph%20LR%0A%0
### Caching
All generated diagram input and output will be cached for 1 hour. The cache time is reset whenever a cached diagram is accessed.