Skip to content

Commit

Permalink
chai.io/thresh workds but not thresh/annotate
Browse files Browse the repository at this point in the history
  • Loading branch information
kazhou committed Apr 12, 2024
1 parent d526e4d commit 4555695
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { fileURLToPath, URL } from 'node:url'
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

const baseUrl = process.env.VITE_BASE_URL || '/';
const baseUrl = process.env.VITE_BASE_URL || '/thresh/';

export default defineConfig({
plugins: [
Expand All @@ -14,6 +14,6 @@ export default defineConfig({
vue$: 'vue/dist/vue.esm-bundler.js',
}
},
base: "/thresh/"
// base: process.env.NODE_ENV === 'production' ? baseUrl : '/',
// base: "/thresh/"
base: process.env.NODE_ENV === 'production' ? baseUrl : '/thresh/',
})

0 comments on commit 4555695

Please sign in to comment.