mirror of
https://github.com/gravitational/teleport
synced 2024-10-18 08:13:24 +00:00
Remove access-graph path resolution, proxy /enterprise
requests (#46541)
* Remove `access-graph` path from tsconfig * Proxy /enterprise requested in dev
This commit is contained in:
parent
b6b4c7a498
commit
994a47344d
|
@ -30,7 +30,6 @@
|
|||
"e-teleport/*": ["e/web/teleport/src/*"],
|
||||
"gen-proto-js/*": ["gen/proto/js/*"],
|
||||
"gen-proto-ts/*": ["gen/proto/ts/*"],
|
||||
"access-graph": ["e/web/teleport/src/AccessGraph/Loader.tsx"],
|
||||
}
|
||||
},
|
||||
"include": [
|
||||
|
|
|
@ -162,6 +162,11 @@ export function createViteConfig(
|
|||
changeOrigin: true,
|
||||
secure: false,
|
||||
},
|
||||
'/enterprise': {
|
||||
target: `https://${target}`,
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
},
|
||||
};
|
||||
if (process.env.VITE_HTTPS_KEY && process.env.VITE_HTTPS_CERT) {
|
||||
config.server.https = {
|
||||
|
|
Loading…
Reference in a new issue