mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-02-24 17:10:56 -08:00
8 lines
235 B
JavaScript
8 lines
235 B
JavaScript
const isDev = require('electron-is-dev');
|
|
const path = require('path');
|
|
|
|
const REACT_PATH = isDev ? 'http://localhost:3000' : `file://${path.resolve(__dirname, '..', '..', 'build', 'index.html')}`;
|
|
|
|
module.exports = {
|
|
REACT_PATH,
|
|
};
|