mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
sentry dsn exported from package.json
This commit is contained in:
parent
ba51eaa879
commit
ab75849e6c
2 changed files with 6 additions and 2 deletions
|
|
@ -6,6 +6,9 @@
|
|||
"website": "www.stremio.com",
|
||||
"private": true,
|
||||
"license": "GPLv3",
|
||||
"Sentry": {
|
||||
"dsn": "https://e47a6d214ae4478b81136c29612003a7@sentry.io/1911455"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "webpack-dev-server --mode development",
|
||||
"build": "webpack --mode production",
|
||||
|
|
@ -14,7 +17,7 @@
|
|||
"lint": "eslint src"
|
||||
},
|
||||
"dependencies": {
|
||||
"@sentry/browser": "^5.11.1",
|
||||
"@sentry/browser": "5.11.1",
|
||||
"a-color-picker": "1.2.1",
|
||||
"classnames": "2.2.6",
|
||||
"events": "1.1.1",
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
const React = require('react');
|
||||
const ReactDOM = require('react-dom');
|
||||
const Sentry = require('@sentry/browser');
|
||||
const Package = require('../package');
|
||||
const App = require('./App');
|
||||
|
||||
Sentry.init({dsn: "https://e47a6d214ae4478b81136c29612003a7@sentry.io/1911455"});
|
||||
Sentry.init({ dsn: Package.Sentry.dsn });
|
||||
|
||||
ReactDOM.render(<App />, document.getElementById('app'));
|
||||
|
|
|
|||
Loading…
Reference in a new issue