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
#DRAWIO_SERVER_URL is the new URL of the deployment, e.g. https://www.example.com/drawio
32
+
#DRAWIO_SERVER_URL is the new URL of the deployment, e.g. https://www.example.com/drawio/
33
33
#DRAWIO_BASE_URL is still used by viewer, lightbox and embed. For backwards compatibility, DRAWIO_SERVER_URL is set to DRAWIO_BASE_URL if not specified.
Copy file name to clipboardexpand all lines: self-contained/README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,8 @@ The best option for Windows users is to copy the contents of `Windowsdrive:/Wind
10
10
11
11
You can customize the application by setting the following environment variables.
12
12
13
-
*`DRAWIO_SERVER_URL`: Your deployment base URL. For example, `https://drawio.example.com` or `https://www.example.com/drawio` if it is deployed into a folder.
14
-
*`DRAWIO_BASE_URL`: Your deployment base URL but used with the viewer, lightbox and embed. Usually the same as `DRAWIO_SERVER_URL`.
13
+
*`DRAWIO_SERVER_URL`: Your deployment base URL. For example, `https://drawio.example.com/` or `https://www.example.com/drawio/` if it is deployed into a folder.**Note**: Must end with `/`
14
+
*`DRAWIO_BASE_URL`: Your deployment base URL but used with the viewer, lightbox and embed. Usually the same as `DRAWIO_SERVER_URL` but does **not** end with `/`.
15
15
*`DRAWIO_CSP_HEADER`: (Optional) Your website Content-Security-Policy if you want to customize it.
16
16
*`DRAWIO_VIEWER_URL`: (Optional) If you want to host a draw.io viewer also, set the viewer URL. For example, `https://drawio.example.com/js/viewer.min.js`
17
17
*`DRAWIO_LIGHTBOX_URL`: (Optional) If you want to host a draw.io viewer also, set the lightbox URL. For example, `https://drawio.example.com`
1 commit comments
davidjgraph commentedon Oct 25, 2023
Reviewed. #125.