|
Last change
on this file was 505f39a, checked in by istevanoska <ilinastevanoska@…>, 6 months ago |
|
Added OAuth/prototype
|
-
Property mode
set to
100644
|
|
File size:
840 bytes
|
| Rev | Line | |
|---|
| [505f39a] | 1 | // import { defineConfig } from "vite";
|
|---|
| 2 | // import react from "@vitejs/plugin-react";
|
|---|
| 3 | //
|
|---|
| 4 | // export default defineConfig({
|
|---|
| 5 | // plugins: [react()],
|
|---|
| 6 | // server: {
|
|---|
| 7 | // proxy: {
|
|---|
| 8 | // "/api": { target: "http://localhost:5555", changeOrigin: true },
|
|---|
| 9 | // "/receive": { target: "http://localhost:5555", changeOrigin: true },
|
|---|
| 10 | // "/ping": { target: "http://localhost:5555", changeOrigin: true },
|
|---|
| 11 | // },
|
|---|
| 12 | // },
|
|---|
| 13 | // });
|
|---|
| 14 | import { defineConfig } from "vite";
|
|---|
| 15 | import react from "@vitejs/plugin-react";
|
|---|
| [640ed89] | 16 |
|
|---|
| [505f39a] | 17 | export default defineConfig({
|
|---|
| 18 | plugins: [react()],
|
|---|
| [640ed89] | 19 | server: {
|
|---|
| 20 | proxy: {
|
|---|
| [505f39a] | 21 | "/api": {
|
|---|
| 22 | target: "http://localhost:5555",
|
|---|
| 23 | changeOrigin: true,
|
|---|
| 24 | secure: false,
|
|---|
| 25 | },
|
|---|
| 26 | "/receive": {
|
|---|
| 27 | target: "http://localhost:5555",
|
|---|
| 28 | changeOrigin: true,
|
|---|
| 29 | secure: false,
|
|---|
| 30 | },
|
|---|
| [640ed89] | 31 | },
|
|---|
| 32 | },
|
|---|
| [505f39a] | 33 | });
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.