- Added a new view

This commit is contained in:
mcndave committed 2024-03-15 14:14:20 -04:00
1 parent e85925ace7
commit 29a780ac6a
3 files changed
+12 -9

No files matched your search

+5 -2
View File
@@ -22,6 +22,9 @@ class ErrorHandler
}
catchError() {
console.log(this.url);
window.onerror = function(message, url, line, column, error) {
// build l'url ET l'api key ensemble pour créer l'URL de réception de bug
@@ -57,10 +60,10 @@ class ErrorHandler
}
get apikey() {
return this._url;
return this._apikey;
}
set apikey(set) {
return this._url = set;
return this._apikey = set;
}
}
+6 -6
View File
@@ -17,13 +17,13 @@ return [
'path' => implode(DIRECTORY_SEPARATOR, [ dirname(__DIR__), "asset", '' ]),
'order' => 10
],
'view' => [
[
'path' => implode(DIRECTORY_SEPARATOR, [ $path , "view", '' ]),
'order' => 99,
],
],
'view' => [
[
'path' => implode(DIRECTORY_SEPARATOR, [ dirname(__DIR__), "view", '' ]),
'order' => 99,
],
]
],
],
],
];
+1 -1
View File
@@ -2,7 +2,7 @@
<script>
new ErrorHandler({
url: "{{ getenv('NEGUNDO_SERVER') }}/client/report",
url: "{{ getenv('NEGUNDO_SERVER') }}/bug/client/report",
apikey: "{{ getenv('NEGUNDO_HASH') }}"
});
</script>