Skip to content

Commit 3477179

Browse files
committed
Use modern import style for @koa/cors
1 parent 433a4f8 commit 3477179

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/faucet/src/api/webserver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import cors from "@koa/cors";
12
// eslint-disable-next-line @typescript-eslint/naming-convention
23
import Koa from "koa";
3-
import cors = require("@koa/cors");
44
import bodyParser from "koa-bodyparser";
55

66
import { isValidAddress } from "../addresses";

0 commit comments

Comments
 (0)