Skip to content

Commit

Permalink
fix: correct path to static frontend files
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschwoerer committed Feb 27, 2022
1 parent c2e2ebe commit 3f15784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/api/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export async function initServer(
const server = fastify({ logger: false });

await server.register(fastifyStatic, {
root: path.join(__dirname, '../public'),
root: path.join(__dirname, '../../public'),
});

server.setNotFoundHandler(async (_, reply) => {
Expand Down

0 comments on commit 3f15784

Please sign in to comment.