mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-16 21:40:23 +01:00
Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d341428ca1 | ||
|
|
b81b5fdf50 | ||
|
|
964e2b09a9 | ||
|
|
62477c7d9b | ||
|
|
c3c560a48a | ||
|
|
740fae7fd8 | ||
|
|
598784b909 | ||
|
|
bc44aeac4b | ||
|
|
0b806e16d5 | ||
|
|
575ce47d52 | ||
|
|
7c14e6f894 | ||
|
|
8bf3c484cc |
2
app.js
2
app.js
@@ -357,4 +357,4 @@ function restart() {
|
|||||||
winston.error('[app] Could not restart server. Shutting down.');
|
winston.error('[app] Could not restart server. Shutting down.');
|
||||||
shutdown(1);
|
shutdown(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -249,4 +249,4 @@ async.series([
|
|||||||
if (err) {
|
if (err) {
|
||||||
console.log('[loader] Error during startup: ' + err.message);
|
console.log('[loader] Error during startup: ' + err.message);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name": "nodebb",
|
"name": "nodebb",
|
||||||
"license": "GPLv3 or later",
|
"license": "GPLv3 or later",
|
||||||
"description": "NodeBB Forum",
|
"description": "NodeBB Forum",
|
||||||
"version": "0.5.2-dev",
|
"version": "0.5.2",
|
||||||
"homepage": "http://www.nodebb.org",
|
"homepage": "http://www.nodebb.org",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ $(document).ready(function() {
|
|||||||
} else if (data.status === 401) {
|
} else if (data.status === 401) {
|
||||||
app.alertError('[[global:please_log_in]]');
|
app.alertError('[[global:please_log_in]]');
|
||||||
return ajaxify.go('login');
|
return ajaxify.go('login');
|
||||||
} else if (data.statuc === 403) {
|
} else if (data.status === 403) {
|
||||||
app.alertError('[[error:no-privileges]]');
|
app.alertError('[[error:no-privileges]]');
|
||||||
} else if (data.status === 302) {
|
} else if (data.status === 302) {
|
||||||
return ajaxify.go(data.responseJSON.slice(1), callback, quiet);
|
return ajaxify.go(data.responseJSON.slice(1), callback, quiet);
|
||||||
@@ -311,4 +311,4 @@ $(document).ready(function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user