chore: 将drawio集成到jmalcloud镜像中
This commit is contained in:
parent
ad4791de21
commit
35d2a22e19
@ -179,7 +179,7 @@ http {
|
||||
}
|
||||
|
||||
location /draw {
|
||||
proxy_pass http://jmalcloud:8080/;
|
||||
proxy_pass http://jmalcloud:8080;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Real-PORT $remote_port;
|
||||
|
||||
@ -85,7 +85,7 @@ export default {
|
||||
let theme = 'kennedy'
|
||||
let title = this.file.name ? encodeURIComponent(this.file.name) : ''
|
||||
let query = `?title=${title}&chrome=${chrome}&lightbox=${lightbox}&ui=${theme}&lang=${language}&offline=0&pwa=0&embed=1&noLangIcon=1&noExitBtn=1&noSaveBtn=1&saveAndExit=0&spin=1&proto=json`
|
||||
this.url = $J.apiUrl(`../draw${query}`)
|
||||
this.url = $J.apiUrl(`../draw/?${query}`)
|
||||
},
|
||||
mounted() {
|
||||
window.addEventListener('message', this.handleMessage)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user