diff --git a/packages/mern-sample-app/app-node-express/src/middleware/index.ts b/packages/mern-sample-app/app-node-express/src/middleware/index.ts index 0725ca2a..6384f5f4 100644 --- a/packages/mern-sample-app/app-node-express/src/middleware/index.ts +++ b/packages/mern-sample-app/app-node-express/src/middleware/index.ts @@ -64,13 +64,13 @@ function __debug_middleware__( /** * Express app global middleware collection (executed in order): * - * -   1  {@link withStaticAssets withStaticAssets} - * -   2  {@link withJsonParser withJsonParser} - * -   3  {@link withRouteSession withRouteSession} - * -   4  {@link withCompression withCompression} - * -   5  {@link withRouteContext withRouteContext} - * -   6  {@link withCookieParser withCookieParser} - * -   7  {@link withCors withCors} + * -   1  {@link withCors withCors} + * -   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} * -   9  {@link withCsp withCsp} * - 10  {@link withHpp withHpp} @@ -79,13 +79,13 @@ function __debug_middleware__( * - 13  {@link withAuthorization withAuthorization} */ export const middleware = [ + __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__(withCors.name, withCors()), __debug_middleware__(withCredentials.name, withCredentials()), __debug_middleware__(withCsp.name, withCsp()), __debug_middleware__(withHpp.name, withHpp()), diff --git a/packages/mern-sample-app/app-vite-react/.env.development b/packages/mern-sample-app/app-vite-react/.env.development index 749faa71..ff4fd5d1 100644 --- a/packages/mern-sample-app/app-vite-react/.env.development +++ b/packages/mern-sample-app/app-vite-react/.env.development @@ -1,6 +1,7 @@ # Railway development server -#VITE_API_CLIENT_URL=https://monorepo-mern-railway-starter-backend.up.railway.app +VITE_API_CLIENT_URL=https://monorepo-mern-railway-starter-backend.up.railway.app +VITE_API_KEYCLOAK_URL=https://keycloak-production-86f5.up.railway.app # Local -VITE_API_CLIENT_URL=http://localhost:8081 -VITE_API_KEYCLOAK_URL=http://localhost:8080 \ No newline at end of file +#VITE_API_CLIENT_URL=http://localhost:8081 +#VITE_API_KEYCLOAK_URL=http://localhost:8080 \ No newline at end of file