]> Untitled Git - lemmy-ui.git/commit
refactor server, tidy up, use handlers/middleware/utils pattern
authorAlec Armbruster <alectrocute@gmail.com>
Fri, 16 Jun 2023 14:34:36 +0000 (10:34 -0400)
committerAlec Armbruster <alectrocute@gmail.com>
Fri, 16 Jun 2023 14:34:36 +0000 (10:34 -0400)
commit88780ba9abf07bce52bd83851b1d6c9b63501f45
tree9f53a2cea2bf2ddf50e49c098bfb0d26581133c1
parentf2db90196de4f59e82f8eb55025ef551bdf7211f
refactor server, tidy up, use handlers/middleware/utils pattern
13 files changed:
src/server/handlers/catch-all-handler.tsx [new file with mode: 0644]
src/server/handlers/robots-handler.tsx [new file with mode: 0644]
src/server/handlers/service-worker-handler.tsx [new file with mode: 0644]
src/server/handlers/theme-handler.tsx [new file with mode: 0644]
src/server/handlers/themes-list-handler.tsx [new file with mode: 0644]
src/server/index.tsx
src/server/middleware/set-default-csp.ts [new file with mode: 0644]
src/server/utils/build-themes-list.ts [new file with mode: 0644]
src/server/utils/create-ssr-html.tsx [new file with mode: 0644]
src/server/utils/fetch-icon-png.ts [new file with mode: 0644]
src/server/utils/generate-manifest-base64.ts [new file with mode: 0644]
src/server/utils/get-error-page-data.ts [new file with mode: 0644]
src/server/utils/set-forwarded-headers.ts [new file with mode: 0644]