File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments