Skip to content

Commit

Permalink
Bumped dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dorukgezici committed Dec 10, 2023
1 parent ade22f1 commit f66ad9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,20 @@ export default function decapCMS(options: DecapCMSOptions): AstroIntegration {
// mount DecapCMS admin dashboard
injectRoute({
pattern: adminRoute,
entryPoint: "astro-decap-cms-oauth/src/admin.astro",
entrypoint: "astro-decap-cms-oauth/src/admin.astro",
});

if (!oauthDisabled) {
// OAuth backend - sign in route
injectRoute({
pattern: oauthLoginRoute,
entryPoint: "astro-decap-cms-oauth/src/oauth/index.ts",
entrypoint: "astro-decap-cms-oauth/src/oauth/index.ts",
});

// OAuth backend - callback route
injectRoute({
pattern: oauthCallbackRoute,
entryPoint: "astro-decap-cms-oauth/src/oauth/callback.ts",
entrypoint: "astro-decap-cms-oauth/src/oauth/callback.ts",
});
}
},
Expand Down

0 comments on commit f66ad9d

Please sign in to comment.