diff options
author | vnugent <public@vaughnnugent.com> | 2024-02-24 15:31:18 -0500 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-02-24 15:31:18 -0500 |
commit | 54017c76a74369700536e6ce14f575c6be0233a6 (patch) | |
tree | 22536f7097b09d0daa6840c328e44778d9022c5b /front-end/vite.config.local.ts | |
parent | f3661776f679a517f2b4fce0a8f583d1a2b0f854 (diff) |
chore: upstream package updates
Diffstat (limited to 'front-end/vite.config.local.ts')
-rw-r--r-- | front-end/vite.config.local.ts | 37 |
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 |