From 0568bad99d18b51cd735ce59a838f29e0990f74e Mon Sep 17 00:00:00 2001 From: Sergey Yarkov Date: Mon, 13 Jun 2022 03:20:44 +0300 Subject: [PATCH] . --- deploy.sh | 26 -------------------------- vite.config.ts | 1 - 2 files changed, 27 deletions(-) delete mode 100644 deploy.sh diff --git a/deploy.sh b/deploy.sh deleted file mode 100644 index 3e4fa78..0000000 --- a/deploy.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env sh - -# abort on errors -set -e - -# build -npm run build - -# navigate into the build output directory -cd dist - -# if you are deploying to a custom domain -# echo 'www.example.com' > CNAME - -git init -git checkout -b main -git add -A -git commit -m 'deploy' - -# if you are deploying to https://.github.io -# git push -f git@github.com:/.github.io.git main - -# if you are deploying to https://.github.io/ -# git push -f git@github.com:sergeyyarkov/educt-client.git main:gh-pages - -cd - \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index 9ab2411..b9bb064 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -16,7 +16,6 @@ function renderChunks(deps: Record) { // https://vitejs.dev/config/ export default defineConfig({ root: './', - base: '/educt-client/', publicDir: 'public', plugins: [react()], server: {