- Added new Picea's Di extension for client_bugs

This commit is contained in:
mcndave committed 2026-07-06 16:29:50 +00:00
1 parent af0e9f291d
commit 956ccbba1a
3 files changed
+6 -4

No files matched your search

+4 -2
View File
@@ -1,8 +1,10 @@
{% php $softwareConfig = di_get(\Negundo\Client\SoftwareConfig::class) %}
<script src="{% asset 'static/negundo/js/debug.js' %}"></script>
<script>
new ErrorHandler({
url: "{{ rtrim(getenv('NEGUNDO_SERVER'), '/') }}/bug/client/report",
apikey: "{{ getenv('NEGUNDO_HASH') }}"
url: "{{ rtrim($softwareConfig->serverUrl, '/') }}/bug/client/report",
apikey: "{{ $softwareConfig->softwareHash }}"
});
</script>