mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-05 23:43:57 +00:00
1d4dc3a26f
* refactor: unlock changing port in UI * Change server port (#464) * Ability to save custom port * Launch server on custom port & pass that port to electron * Add serverPort validation * Prevent changing port in docker --------- Co-authored-by: Snehanshu Phukon <snehanshu@mamboemm.com> --------- Co-authored-by: স্নেহাংশু ফুকন <hello@snehanshu.com> Co-authored-by: Snehanshu Phukon <snehanshu@mamboemm.com>
16 lines
345 B
JavaScript
16 lines
345 B
JavaScript
module.exports = {
|
|
appIni: {
|
|
shutdownCode: 99,
|
|
},
|
|
reactAppUrl: {
|
|
development: (port = 4001) => `http://localhost:${port}/editor`,
|
|
production: (port = 4001) => `http://localhost:${port}/editor`,
|
|
},
|
|
server: {
|
|
pathToEntrypoint: '../extraResources/server/index.cjs',
|
|
},
|
|
assets: {
|
|
pathToAssets: './assets/',
|
|
},
|
|
};
|