Включаем yandex-метрику только на production

This commit is contained in:
Book Pauk
2019-02-17 13:30:08 +07:00
parent bdc124052c
commit 69bcc61a01
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ const api = axios.create({
class Misc {
async loadConfig() {
const response = await api.post('/config', {params: ['name', 'version', 'mode', 'maxUploadFileSize']});
const response = await api.post('/config', {params: ['name', 'version', 'mode', 'maxUploadFileSize', 'branch']});
return response.data;
}
}