Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
chore: remove private API whitelist
Browse files Browse the repository at this point in the history
  • Loading branch information
asdfryan committed Jan 31, 2024
1 parent 80f50b7 commit c83d9bc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
15 changes: 0 additions & 15 deletions apps/api/middleware/private_whitelist.ts

This file was deleted.

2 changes: 0 additions & 2 deletions apps/api/routes/private/v2/index.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
import { apiKeyHeaderMiddleware } from '@/middleware/api_key';
import { privateApiWhitelistMiddleware } from '@/middleware/private_whitelist';
import { Router } from 'express';
import customer from './customer';

export default function init(app: Router): void {
const v2Router = Router();

v2Router.use(apiKeyHeaderMiddleware);
v2Router.use(privateApiWhitelistMiddleware);

customer(v2Router);

Expand Down

0 comments on commit c83d9bc

Please sign in to comment.