Compare commits

..

2 Commits

Author SHA1 Message Date
Lukáš Kucharczyk ae95015f55
CI: autotag
continuous-integration/drone/push Build is passing Details
2023-01-25 11:49:22 +01:00
Lukáš Kucharczyk c217fd30ef
Add vite proxy config 2023-01-25 11:48:17 +01:00
2 changed files with 9 additions and 6 deletions

View File

@ -25,9 +25,7 @@ steps:
image: plugins/docker image: plugins/docker
settings: settings:
repo: registry.kucharczyk.xyz/timetracker repo: registry.kucharczyk.xyz/timetracker
tags: auto_tag: true
- ${DRONE_COMMIT_REF}
- ${DRONE_COMMIT_BRANCH}
when: when:
branch: branch:
exclude: exclude:

View File

@ -1,7 +1,12 @@
import { defineConfig } from 'vite' import { defineConfig } from "vite";
import react from '@vitejs/plugin-react' import react from "@vitejs/plugin-react";
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({
plugins: [react()], plugins: [react()],
}) server: {
proxy: {
"/": "http://localhost:8001",
},
},
});