We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4513390 + 49ecc7b commit 7f6b9d2Copy full SHA for 7f6b9d2
2 files changed
layouts/404.html
@@ -22,7 +22,7 @@
22
<script type="text/javascript">
23
window.__MX_APP_NAME = 'Docs';
24
</script>
25
- <script src="https://dock-static.mendix.com/main.js" async></script>
+ <script src="{{ if eq hugo.Environment "production" }}https://dock-static.mendix.com/main.js{{ else }}https://dock-static-test.mendix.com/main.js{{ end }}" async></script>
26
</div>
27
{{ partial "scripts.html" . }}
28
</body>
layouts/partials/footer.html
@@ -73,4 +73,4 @@
73
</ul>
74
75
76
-<script src="https://dock-static.mendix.com/main.js" async></script>
+<script src="{{ if eq hugo.Environment "production" }}https://dock-static.mendix.com/main.js{{ else }}https://dock-static-test.mendix.com/main.js{{ end }}" async></script>
0 commit comments