Skip to content

Commit 7a9d59d

Browse files
committed
test: try to ignore vite registration to know if it is the reason it stales
1 parent 1d062c8 commit 7a9d59d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/app.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,18 +83,18 @@ export default async function serviceApp(
8383
});
8484

8585
// We setup the SPA
86-
await fastify.register(fastifyVite, function (fastify) {
87-
return {
88-
root: path.resolve(import.meta.dirname, '../'),
89-
dev: fastify.config.FASTIFY_VITE_DEV_MODE,
90-
spa: true
91-
}
92-
});
86+
// await fastify.register(fastifyVite, function (fastify) {
87+
// return {
88+
// root: path.resolve(import.meta.dirname, '../'),
89+
// dev: fastify.config.FASTIFY_VITE_DEV_MODE,
90+
// spa: true
91+
// }
92+
// });
9393

9494
// Route must match vite "base": https://vitejs.dev/config/shared-options.html#base
9595
fastify.get('/', (req, reply) => {
9696
return reply.html();
9797
});
9898

99-
await fastify.vite.ready();
99+
// await fastify.vite.ready();
100100
}

0 commit comments

Comments
 (0)