File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 66 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
77 < script type ="text/javascript ">
88 // Github pages deployment workaround https://github.com/rafgraph/spa-github-pages
9+ // Only run on GitHub Pages (not localhost)
910 ; ( function ( l ) {
10- if ( l . search [ 1 ] === '/' ) {
11+ if (
12+ l . hostname !== 'localhost' &&
13+ l . hostname !== '127.0.0.1' &&
14+ l . search [ 1 ] === '/'
15+ ) {
1116 var decoded = l . search
1217 . slice ( 1 )
1318 . split ( '&' )
3944 < link rel ="icon " type ="image/svg+xml " href ="static/favicon.svg " />
4045 < link rel ="icon " type ="image/png " href ="static/favicon.png " />
4146 < link rel ="manifest " href ="static/site.webmanifest " />
42- < script type ="module " src ="Eplant/main.tsx "> </ script >
47+ < script type ="module " src ="/ Eplant/main.tsx "> </ script >
4348 < title > Eplant</ title >
4449 </ head >
4550 < body >
You can’t perform that action at this time.
0 commit comments