Skip to content
This repository has been archived by the owner on Dec 21, 2024. It is now read-only.

Commit

Permalink
fix: remove URL prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
vanaigr committed Dec 20, 2024
1 parent ebf3221 commit d222878
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
env:
MY_GITHUB_PAGES: '/minishoot-map/'
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,3 @@
This project provides an interactive map for the game, available [here](https://minishoot-map.github.io/).
The map shows collectables, crystal coins, passages, and many more.
The map is based on extracted in-game data.

I had to create a new github organization because google doesn't support more than 1
favicon per domain. Also I need to push something rn, since github pages overwrote my
"fork actions consent" page, and the usual Vite workflow didn't run.
3 changes: 0 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,8 @@ export default defineConfig(({ command, mode, isSsrBuild, isPreview }) => {
delete defines.__use_default_in_builds
for(const k in defines) finalDefines['__' + k] = JSON.stringify(defines[k])

const gh = process?.env?.MY_GITHUB_PAGES

return {
root: './src',
base: gh != null ? gh : '/',
build: {
outDir: '../dist',
emptyOutDir: true,
Expand Down

0 comments on commit d222878

Please sign in to comment.