Increased requirejs timeout

set timeout when running in prod regardless of hostname
This commit is contained in:
Mark McDowall 2015-01-24 17:04:44 -08:00
parent 76dd663bae
commit f606b58986
3 changed files with 9 additions and 7 deletions

View file

@ -2,7 +2,7 @@
urlArgs: 'v=' + window.NzbDrone.Version
});
if (window.location.hostname.toLowerCase() !== 'localhost') {
if (window.NzbDrone.Production) {
require.config({
waitSeconds: 30
});