File tree Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Expand file tree Collapse file tree 2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 3
3
4
4
notes.txt
5
5
6
- app /
6
+ dist /
Original file line number Diff line number Diff line change @@ -432,11 +432,20 @@ if (import.meta.main) {
432
432
433
433
/* ---------------------------------------- */
434
434
435
- app . use ( '/assets/*' , serveStatic ( { root : './app/assets' } ) ) ;
435
+ app . use (
436
+ '/assets/*' ,
437
+ serveStatic ( {
438
+ root : './dist/assets' ,
439
+ mimes : {
440
+ js : 'application/javascript' ,
441
+ css : 'text/css' ,
442
+ } ,
443
+ } ) ,
444
+ ) ;
436
445
437
- app . use ( '/vite.svg' , serveStatic ( { path : './app /vite.svg' } ) ) ;
446
+ app . use ( '/vite.svg' , serveStatic ( { path : './dist /vite.svg' } ) ) ;
438
447
439
- app . use ( '/*' , serveStatic ( { path : './app /index.html' } ) ) ;
448
+ app . use ( '/*' , serveStatic ( { path : './dist /index.html' } ) ) ;
440
449
441
450
/* ---------------------------------------- */
442
451
You can’t perform that action at this time.
0 commit comments