Skip to content

Commit

Permalink
update deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory44 committed Apr 22, 2024
1 parent 6810452 commit f74047b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/mistborn-ttrpg/mistborn-njzom3j4.png" />
<link rel="icon" type="image/svg+xml" href="/mistborn-njzom3j4.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mistborn TTRPG Assistant</title>
<script type="module" crossorigin src="/mistborn-ttrpg/index-BMd0eMkn.js"></script>
<link rel="stylesheet" crossorigin href="/mistborn-ttrpg/index-iwRdnJhK.css">
<script type="module" crossorigin src="/index-BMd0eMkn.js"></script>
<link rel="stylesheet" crossorigin href="/index-iwRdnJhK.css">
</head>
<body>
<div id="root"></div>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"deploy": "gh-pages -d dist",
"dev": "vite",
"build": "vite build",
"lint": "eslint . --ext js,jsx --report-unused-disable-directives --max-warnings 0",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import react from '@vitejs/plugin-react';

// https://vitejs.dev/config/
export default defineConfig({
base: '/', // Adjust this to match your repository name
base: '/mistborn-ttrpg/', // Adjust this to match your repository name
plugins: [react()],
build: {
outDir: 'dist', // Specify the output directory for the production build
Expand Down

0 comments on commit f74047b

Please sign in to comment.