Skip to content
This repository has been archived by the owner on Sep 12, 2023. It is now read-only.

Commit

Permalink
intrn(server): add IP filler as global middleware
Browse files Browse the repository at this point in the history
Co-authored-by: Kenneth Trecy Tobias <19201.tobias.kennethtrecy.c@gmail.com>
  • Loading branch information
Angelo Magtoto and KennethTrecy committed Nov 23, 2022
1 parent 970baa3 commit cbed6f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/helpers/make_global_middlewares.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import Middleware from "!/bases/middleware"
import Session from "!/middlewares/miscellaneous/session"
import IPFiller from "!/middlewares/miscellaneous/ip_filler"
import Compression from "!/middlewares/miscellaneous/compression"
import AuthenticationSession from "!/middlewares/authentication/session"
import CacheInitializer from "!/middlewares/miscellaneous/cache_initializer"
import AuthenticationInitializer from "!/middlewares/authentication/initializer"

export default function(): Middleware[] {
return [
new IPFiller(),
new Compression(),
new CacheInitializer(),
new Session(),
Expand Down

0 comments on commit cbed6f9

Please sign in to comment.