Skip to content

Commit

Permalink
fix formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
RohinBhargava committed Dec 17, 2024
1 parent a82d390 commit 93fe04e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/docs-bundle/src/pages/api/fern-docs/proxy/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default async function handler(req: Request): Promise<Response> {
const headers = new Headers({
"Access-Control-Allow-Origin": origin,
"Access-Control-Allow-Methods": "POST",
"Access-Control-Allow-Headers": "Content-Type"
"Access-Control-Allow-Headers": "Content-Type",
});

if (req.method === "OPTIONS") {
Expand Down Expand Up @@ -58,7 +58,7 @@ export default async function handler(req: Request): Promise<Response> {

return new Response(response.body, {
status: response.status,
headers
headers,
});
} catch (err) {
// eslint-disable-next-line no-console
Expand Down

0 comments on commit 93fe04e

Please sign in to comment.