mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
[website] set sentry environment
This commit is contained in:
parent
b5620c070c
commit
f18eedc5e7
@ -1,5 +1,8 @@
|
|||||||
(function () {
|
(function () {
|
||||||
Sentry.init({ dsn: 'https://2b95b52c943f4ad99baccab7a9048e4d@o388870.ingest.sentry.io/5246103' });
|
Sentry.init({
|
||||||
|
dsn: 'https://2b95b52c943f4ad99baccab7a9048e4d@o388870.ingest.sentry.io/5246103',
|
||||||
|
environment: window.location.hostname === 'clickhouse.tech' ? 'prod' : 'test'
|
||||||
|
});
|
||||||
$(document).click(function (event) {
|
$(document).click(function (event) {
|
||||||
var target = $(event.target);
|
var target = $(event.target);
|
||||||
var target_id = target.attr('id');
|
var target_id = target.attr('id');
|
||||||
|
Loading…
Reference in New Issue
Block a user