diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f87b62..96e2b0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,9 +36,6 @@ jobs: run: npm run build -- --base="/rabbit/" # https://syusui-s.github.io/rabbit/ - name: Check license run: npm run checkLicense - - name: Copy index.html for GitHub Pages - if: ${{ github.ref == 'refs/heads/main' }} - run: cp dist/index.html dist/404.html - name: Deploy uses: peaceiris/actions-gh-pages@v3 if: ${{ github.ref == 'refs/heads/main' }} diff --git a/src/index.tsx b/src/index.tsx index 7c3926c..6ce2726 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,5 +1,5 @@ /* @refresh reload */ -import { Router } from '@solidjs/router'; +import { Router, hashIntegration } from '@solidjs/router'; import { render } from 'solid-js/web'; import '@/index.css'; @@ -7,7 +7,7 @@ import App from '@/App'; render( () => ( - + ),