Skip to content

Commit

Permalink
Merge pull request #167 from chengpeiquan/temp
Browse files Browse the repository at this point in the history
chore: use the jsdelivr CDN
  • Loading branch information
chengpeiquan authored Dec 20, 2021
2 parents b12815d + 858a9ab commit 4696d45
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ const resolve = (dir: string): string => path.resolve(__dirname, dir)

// https://vitejs.dev/config/
export default defineConfig({
base: '/',
// base: isDev
// ? '/'
// : 'https://cdn.jsdelivr.net/gh/chengpeiquan/chengpeiquan.com@gh-pages/',
base: isDev
? '/'
: 'https://cdn.jsdelivr.net/gh/chengpeiquan/chengpeiquan.com@gh-pages/',
server: {
port: 33333,
proxy: {
Expand Down

0 comments on commit 4696d45

Please sign in to comment.