diff options
Diffstat (limited to 'server.ts')
-rw-r--r-- | server.ts | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -97,6 +97,7 @@ import { | |||
97 | clientsRouter, | 97 | clientsRouter, |
98 | feedsRouter, | 98 | feedsRouter, |
99 | staticRouter, | 99 | staticRouter, |
100 | lazyStaticRouter, | ||
100 | servicesRouter, | 101 | servicesRouter, |
101 | pluginsRouter, | 102 | pluginsRouter, |
102 | webfingerRouter, | 103 | webfingerRouter, |
@@ -192,6 +193,7 @@ app.use('/', botsRouter) | |||
192 | 193 | ||
193 | // Static files | 194 | // Static files |
194 | app.use('/', staticRouter) | 195 | app.use('/', staticRouter) |
196 | app.use('/', lazyStaticRouter) | ||
195 | 197 | ||
196 | // Client files, last valid routes! | 198 | // Client files, last valid routes! |
197 | if (cli.client) app.use('/', clientsRouter) | 199 | if (cli.client) app.use('/', clientsRouter) |