Commit 92b46a72 authored by Thomas Marrinan's avatar Thomas Marrinan

Merge branch 'master' of https://bitbucket.org/sage2/sage2


Former-commit-id: 61aab64e1f6c475a7d7d34cd00443a3294327a55
parents 495042b7 f992b6a4
......@@ -796,6 +796,10 @@ function loadConfiguration() {
userConfig.pointerWidth = Math.round(0.200 * userConfig.totalHeight);
userConfig.pointerHeight = Math.round(0.050 * userConfig.totalHeight);
// Set default values if missing
if (userConfig.port === undefined) userConfig.port = 443;
if (userConfig.index_port === undefined) userConfig.index_port = 80;
return userConfig;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment