Add debug flag to pdf export

This commit is contained in:
Constantin Graf
2024-12-03 16:57:14 +01:00
committed by Constantin Graf
parent 32bce2f749
commit a4f3e014d9
5 changed files with 38 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
// Version: 5.5.1
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file

View File

@@ -48,7 +48,7 @@
<script>
window.status = 'processing';
</script>
<script src="echarts.min.js"></script>
<script src="{{ $debug ? 'https://cdn.jsdelivr.net/npm/echarts@5.5.1/dist/echarts.min.js' : 'echarts.min.js' }}"></script>
</head>
<body>