Update index.js
Browse files
index.js
CHANGED
|
@@ -2106,6 +2106,8 @@ setInterval(async () => {
|
|
| 2106 |
initializeAdmin();
|
| 2107 |
loadPlugins();
|
| 2108 |
reloadHandler();
|
|
|
|
|
|
|
| 2109 |
|
| 2110 |
app.use((err, req, res, next) => {
|
| 2111 |
console.error('Unhandled error:', err);
|
|
|
|
| 2106 |
initializeAdmin();
|
| 2107 |
loadPlugins();
|
| 2108 |
reloadHandler();
|
| 2109 |
+
app.use('/', tmpRouter);
|
| 2110 |
+
|
| 2111 |
|
| 2112 |
app.use((err, req, res, next) => {
|
| 2113 |
console.error('Unhandled error:', err);
|