1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00
joplin/packages/app-mobile/web/public/environment.js

10 lines
235 B
JavaScript
Raw Normal View History

// Change to enable or disable React Native dev mode.
window.__DEV__ = window.location.origin.includes('localhost');
// Silences errors related to generated code.
window.exports = {};
if (__DEV__) {
document.title = 'Joplin DEV';
}