Skip to content

Commit efd7afd

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

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/app.ts

Lines changed: 9 additions & 9 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) => {
96-
return reply.html();
96+
return "hello";
9797
});
9898

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

0 commit comments

Comments
 (0)