Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: hotfix cors #33

Merged
merged 1 commit into from
Oct 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -64,29 +64,29 @@ function __debug_middleware__(
/**
* Express app global middleware collection (executed in order):
*
* -   1  {@link withCors withCors}
* -   1  {@link withCredentials withCredentials}
* -   2  {@link withStaticAssets withStaticAssets}
* -   3  {@link withJsonParser withJsonParser}
* -   4  {@link withRouteSession withRouteSession}
* -   5  {@link withCompression withCompression}
* -   6  {@link withRouteContext withRouteContext}
* -   7  {@link withCookieParser withCookieParser}
* -   8  {@link withCredentials withCredentials}
* -   8  {@link withCors withCors}
* -   9  {@link withCsp withCsp}
* - 10  {@link withHpp withHpp}
* - 11  {@link withMorgan withMorgan}
* - 12  {@link withUrlEncoded withUrlEncoded}
* - 13  {@link withAuthorization withAuthorization}
*/
export const middleware = [
__debug_middleware__(withCredentials.name, withCredentials()),
__debug_middleware__(withCors.name, withCors()),
__debug_middleware__(withStaticAssets.name, withStaticAssets()),
__debug_middleware__(withJsonParser.name, withJsonParser()),
__debug_middleware__(withRouteSession.name, withRouteSession()),
__debug_middleware__(withCompression.name, withCompression()),
__debug_middleware__(withRouteContext.name, withRouteContext()),
__debug_middleware__(withCookieParser.name, withCookieParser()),
__debug_middleware__(withCredentials.name, withCredentials()),
__debug_middleware__(withCsp.name, withCsp()),
__debug_middleware__(withHpp.name, withHpp()),
__debug_middleware__(withMorgan.name, withMorgan()),
Expand Down
Loading