alex 3 years ago
commit 57e1445e3f

@ -237,7 +237,7 @@ server {
# The nodejs server has some built-in forwarding rules to prevent # The nodejs server has some built-in forwarding rules to prevent
# URLs like /pad from resulting in a 404. This simply adds a trailing slash # URLs like /pad from resulting in a 404. This simply adds a trailing slash
# to a variety of applications. # to a variety of applications.
location ~ ^/(register|login|settings|user|pad|drive|poll|slide|code|whiteboard|file|media|profile|contacts|todo|filepicker|debug|kanban|sheet|support|admin|notifications|teams|calendar|presentation|doc|form|report|convert)$ { location ~ ^/(register|login|settings|user|pad|drive|poll|slide|code|whiteboard|file|media|profile|contacts|todo|filepicker|debug|kanban|sheet|support|admin|notifications|teams|calendar|presentation|doc|form|report|convert|checkup)$ {
rewrite ^(.*)$ $1/ redirect; rewrite ^(.*)$ $1/ redirect;
} }

@ -16,20 +16,18 @@ define([], function () {
} }
if (called) { return; } if (called) { return; }
if (msg && !msg.innerText) {
msg.innerText = "An unexpected error occurred. See your browser's console for more details";
}
called = true; called = true;
_cb(arg); _cb(arg);
}; };
var _msg = document.createElement('span');
_msg.innerText = "An unexpected error occurred. See your browser's console for more details";
if (msg && !msg.innerText) {
msg.innerText = _msg.innerText;
}
to = setTimeout(function () { to = setTimeout(function () {
cb({ cb({
test: i, test: i,
message: msg || _msg, message: msg,
output: "TIMEOUT", output: "TIMEOUT",
}); });
}, 25000); }, 25000);
@ -42,7 +40,7 @@ define([], function () {
} else { } else {
cb({ cb({
test: i, test: i,
message: msg || _msg, message: msg,
output: result, output: result,
}); });
} }
@ -54,7 +52,7 @@ define([], function () {
//from ${err.fileName} line ${err.lineNumber}`; //from ${err.fileName} line ${err.lineNumber}`;
cb({ cb({
test: i, test: i,
message: msg || _msg, message: msg,
output: { output: {
message: err.message, message: err.message,
file: err.fileName, file: err.fileName,

@ -64,6 +64,9 @@
display: flex; display: flex;
flex-flow: column; flex-flow: column;
overflow: hidden; overflow: hidden;
.cp-markdown-toolbar {
display: block;
}
} }
#cp-kanban-edit-conflicts { #cp-kanban-edit-conflicts {
padding: 5px; padding: 5px;

Loading…
Cancel
Save