We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc93bf1 commit 39d8eeeCopy full SHA for 39d8eee
1 file changed
server/app.ts
@@ -10,9 +10,10 @@ const DIST_CANDIDATES = [
10
path.resolve(__dirname, "..", "dist"),
11
path.resolve(__dirname, ".."),
12
];
13
-const DIST_DIR = DIST_CANDIDATES.find((candidate) =>
14
- fs.existsSync(path.join(candidate, "index.html")),
15
-) ?? DIST_CANDIDATES[0];
+const DIST_DIR =
+ DIST_CANDIDATES.find((candidate) =>
+ fs.existsSync(path.join(candidate, "index.html")),
16
+ ) ?? DIST_CANDIDATES[0];
17
18
export const app = express();
19
app.use(express.json());
0 commit comments