1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-18 09:35:20 +02:00
joplin/packages/app-mobile/web/public/environment.js
2024-08-02 14:51:49 +01:00

10 lines
235 B
JavaScript

// 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';
}