Skip to content

Commit

Permalink
NONE: remove FF (#2563)
Browse files Browse the repository at this point in the history
  • Loading branch information
bgvozdev authored Nov 23, 2023
1 parent d2c3162 commit b674c6b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 135 deletions.
69 changes: 0 additions & 69 deletions src/routes/github/github-encrypt-header-post.test.ts

This file was deleted.

61 changes: 0 additions & 61 deletions src/routes/github/github-encrypt-header-post.ts

This file was deleted.

3 changes: 0 additions & 3 deletions src/routes/github/github-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { GithubCreateBranchRouter } from "routes/github/create-branch/github-cre
import { GithubRepositoryRouter } from "routes/github/repository/github-repository-router";
import { GithubBranchRouter } from "routes/github/branch/github-branch-router";
import { jiraSymmetricJwtMiddleware } from "~/src/middleware/jira-symmetric-jwt-middleware";
import { GithubEncryptHeaderPost } from "routes/github/github-encrypt-header-post";
import { jiraAdminPermissionsMiddleware } from "middleware/jira-admin-permission-middleware";
import GithubSubscriptionDeferredInstallRouter
from "./subscription-deferred-install/github-subscription-deferred-install-router";
Expand Down Expand Up @@ -69,8 +68,6 @@ subRouter.use(jiraAdminPermissionsMiddleware); // This must stay after jiraSymme

subRouter.get("/login", GithubOAuthLoginGet);

subRouter.post("/encrypt/header", GithubEncryptHeaderPost);

// CSRF Protection Middleware for all following routes
subRouter.use(csrfMiddleware);

Expand Down
2 changes: 0 additions & 2 deletions test/snapshots/app.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@ exports[`app getFrontendApp please review routes and update snapshot when adding
query,expressInit,elapsedTimeMetrics,sentryRequestMiddleware,urlencodedParser,jsonParser,cookieParser,LogMiddleware,_cookieSession,jiraSymmetricJwtMiddleware,GithubServerAppMiddleware,csrf,GithubBranchGet
:GET ^/?(?=/|$)^/github/?(?=/|$)^(?:/([0-9a-fA-F]{8}b-[0-9a-fA-F]{4}b-[0-9a-fA-F]{4}b-[0-9a-fA-F]{4}b-[0-9a-fA-F]{12}))?/?(?=/|$)^/login/?$
query,expressInit,elapsedTimeMetrics,sentryRequestMiddleware,urlencodedParser,jsonParser,cookieParser,LogMiddleware,_cookieSession,jiraSymmetricJwtMiddleware,GithubServerAppMiddleware,jiraAdminPermissionsMiddleware,GithubOAuthLoginGet
:POST ^/?(?=/|$)^/github/?(?=/|$)^(?:/([0-9a-fA-F]{8}b-[0-9a-fA-F]{4}b-[0-9a-fA-F]{4}b-[0-9a-fA-F]{4}b-[0-9a-fA-F]{12}))?/?(?=/|$)^/encrypt/header/?$
query,expressInit,elapsedTimeMetrics,sentryRequestMiddleware,urlencodedParser,jsonParser,cookieParser,LogMiddleware,_cookieSession,jiraSymmetricJwtMiddleware,GithubServerAppMiddleware,jiraAdminPermissionsMiddleware,GithubEncryptHeaderPost
:GET ^/?(?=/|$)^/github/?(?=/|$)^(?:/([0-9a-fA-F]{8}b-[0-9a-fA-F]{4}b-[0-9a-fA-F]{4}b-[0-9a-fA-F]{4}b-[0-9a-fA-F]{12}))?/?(?=/|$)^/setup/?(?=/|$)^/?$
query,expressInit,elapsedTimeMetrics,sentryRequestMiddleware,urlencodedParser,jsonParser,cookieParser,LogMiddleware,_cookieSession,jiraSymmetricJwtMiddleware,GithubServerAppMiddleware,jiraAdminPermissionsMiddleware,csrf,middleware,returnOnValidationError,GithubSetupGet
:POST ^/?(?=/|$)^/github/?(?=/|$)^(?:/([0-9a-fA-F]{8}b-[0-9a-fA-F]{4}b-[0-9a-fA-F]{4}b-[0-9a-fA-F]{4}b-[0-9a-fA-F]{12}))?/?(?=/|$)^/setup/?(?=/|$)^/?$
Expand Down

0 comments on commit b674c6b

Please sign in to comment.