Skip to content

Commit

Permalink
[v15] Remove access-graph path resolution, proxy /enterprise reques…
Browse files Browse the repository at this point in the history
…ts (#46759)

* Remove `access-graph` path from tsconfig

* Proxy /enterprise requested in dev
  • Loading branch information
ryanclark authored Sep 25, 2024
1 parent 2ee58a0 commit 1333703
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
5 changes: 5 additions & 0 deletions web/packages/build/vite/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,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) {
Expand Down

0 comments on commit 1333703

Please sign in to comment.