Skip to content

Commit 5f9e686

Browse files
committed
frontend lint fix
1 parent 7627e84 commit 5f9e686

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

frontend/pages/health.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
import { GetServerSideProps } from 'next';
1+
import { GetServerSideProps } from "next";
22

33
const HealthPage = () => {
44
return <div>OK</div>;
55
};
66

77
export const getServerSideProps: GetServerSideProps = async ({ req }) => {
8-
const userAgent = req.headers['user-agent'] || '';
8+
const userAgent = req.headers["user-agent"] || "";
99

10-
if (userAgent !== 'service-status') {
10+
if (userAgent !== "service-status") {
1111
return {
1212
redirect: {
13-
destination: '/',
13+
destination: "/",
1414
permanent: false,
1515
},
1616
};

0 commit comments

Comments
 (0)