aboutsummaryrefslogtreecommitdiff
path: root/front-end/vite.config.local.ts
diff options
context:
space:
mode:
Diffstat (limited to 'front-end/vite.config.local.ts')
-rw-r--r--front-end/vite.config.local.ts37
1 files changed, 0 insertions, 37 deletions
diff --git a/front-end/vite.config.local.ts b/front-end/vite.config.local.ts
deleted file mode 100644
index c93c60c..0000000
--- a/front-end/vite.config.local.ts
+++ /dev/null
@@ -1,37 +0,0 @@
-
-import fs from 'fs'
-
-export const server = {
- host: '0.0.0.0',
- port: 8081,
- strictPort: true,
- proxy: {
- '/public': {
- target: 'https://www.vaughnnugent.com/public',
- changeOrigin: true,
- rewrite: (path) => path.replace(/^\/public/, ''),
- headers: {
- //Don't send cookies to the remote server
- 'cookies': "",
- "pragma": "no-cache",
- "Connection": "keep-alive",
- "Cache-Control": "no-cache",
- },
- },
- '/api': {
- target: 'http://127.0.0.1:8089',
- changeOrigin: true,
- rewrite: (path) => path.replace(/^\/api/, ''),
- headers: {
- "sec-fetch-mode": "cors",
- "referer": null,
- "origin": "https://127.0.0.1:8080",
- "Connection": "keep-alive",
- }
- }
- },
- https: {
- key: fs.readFileSync('F:\\downloads\\test.pem'),
- cert: fs.readFileSync('F:\\downloads\\cert.pem'),
- }
-} \ No newline at end of file