Skip to content

Commit 241af1f

Browse files
committed
fix thrown error
1 parent bd0ed02 commit 241af1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/configs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const parseConfigs = () => {
99
);
1010
}
1111

12-
return JSON.parse(rawRobots ?? {});
12+
return JSON.parse(rawRobots ?? '{}');
1313
};
1414

1515
export const dialConfigs: Record<string, DialConf> = parseConfigs();

0 commit comments

Comments
 (0)