Skip to content

Commit

Permalink
Remove remote IP endpoint (#53826)
Browse files Browse the repository at this point in the history
  • Loading branch information
heiskr authored Jan 9, 2025
1 parent 586796b commit 43e1234
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 68 deletions.
2 changes: 0 additions & 2 deletions src/frame/middleware/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import archivedEnterpriseVersionsAssets from '@/archives/middleware/archived-ent
import api from './api'
import healthz from './healthz'
import manifestJson from './manifest-json'
import remoteIP from './remote-ip'
import buildInfo from './build-info'
import reqHeaders from './req-headers'
import archivedEnterpriseVersions from '@/archives/middleware/archived-enterprise-versions'
Expand Down Expand Up @@ -245,7 +244,6 @@ export default function (app: Express) {

// *** Rendering, 2xx responses ***
app.use('/api', api)
app.get('/_ip', remoteIP)
app.get('/_build', buildInfo)
app.get('/_req-headers', reqHeaders)
app.use(asyncMiddleware(manifestJson))
Expand Down
25 changes: 0 additions & 25 deletions src/frame/middleware/remote-ip.ts

This file was deleted.

41 changes: 0 additions & 41 deletions src/frame/tests/remote-ip.ts

This file was deleted.

0 comments on commit 43e1234

Please sign in to comment.