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
settings:
repo: registry.kucharczyk.xyz/timetracker
tags:
- ${DRONE_COMMIT_REF}
- ${DRONE_COMMIT_BRANCH}
auto_tag: true
when:
branch:
exclude:

View File

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