File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -83,18 +83,18 @@ export default async function serviceApp(
83
83
} ) ;
84
84
85
85
// 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
+ // });
93
93
94
94
// Route must match vite "base": https://vitejs.dev/config/shared-options.html#base
95
95
fastify . get ( '/' , ( req , reply ) => {
96
- return reply . html ( ) ;
96
+ return "hello" ;
97
97
} ) ;
98
98
99
- await fastify . vite . ready ( ) ;
99
+ // await fastify.vite.ready();
100
100
}
You can’t perform that action at this time.
0 commit comments