Commit 53ceea74 authored by NGPixel's avatar NGPixel

fix: skip telemetry if devmode

parent 17f83350
...@@ -40,6 +40,8 @@ module.exports = { ...@@ -40,6 +40,8 @@ module.exports = {
// TODO // TODO
}, },
async sendInstanceEvent(eventType) { async sendInstanceEvent(eventType) {
if (WIKI.devMode) { return }
try { try {
const apollo = createApolloFetch({ const apollo = createApolloFetch({
uri: WIKI.config.graphEndpoint uri: WIKI.config.graphEndpoint
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment