Conversation
Check warning
Code scanning / CodeQL
Overly permissive regular expression range
Check warning
Code scanning / CodeQL
Overly permissive regular expression range
dd1062e to
084e885
Compare
|
It would be cool if we could somehow detect I tried to run locally and it looks like the dev server starts, but I get an SSL protocol error when connecting from Chrome. |
|
As of the fix introduced in f6dedd5 this now works on my machine where I run teleport on a domain name that is not |
ef6b656 to
93514ee
Compare
|
|
||
| get( | ||
| `https://${target}/web`, | ||
| { headers, rejectUnauthorized: false }, |
Check failure
Code scanning / CodeQL
Disabling certificate validation
db83044 to
55f8c4b
Compare
5eabefb to
5a623df
Compare
|
Do you happen to have some stats on how it affects the size of compiled assets? |
|
@ryanclark - this PR will require admin approval to merge due to its size. Consider breaking it up into a series smaller changes. |
970dad9 to
431673f
Compare
|
I have two issues:
Is something misconfigured on my end? |
fddbe2d to
286e0b5
Compare
|
Connect seems to work fine, but I can't login to the Web UI :( I still get @ryanclark could you try clearing cookies and then logging in? |
439295f to
526eb50
Compare
There was a problem hiding this comment.
working great so far, except for that one bug.
can we also update outdated default ports on our web/README file? eg: mfa stuff
another thing is when i run yarn build-ui, an extra file gets created in the web/teleport/.swc file (idk what it is or if we need it):
There was a problem hiding this comment.
not true, i tested it by setting up github for local use and it works. this was also supported before as well. other connectors might not work for local, i think there was another one that worked for local use but can't remember (i favor github for testing b/c it's the easiest to set up)
There was a problem hiding this comment.
This was there already - shall I remove this?
There was a problem hiding this comment.
oh i see, yeah i'd remove it
53bec97 to
c8f0a7c
Compare
hatched
left a comment
There was a problem hiding this comment.
Thanks for keeping up with this, this is a huge build speed improvement! 👍
c079b9f to
1d03a5d
Compare
|
The IIRC there were some problems with Vite and styled-components, right? Though Storybook still uses Webpack so idk what's going on here. 🤔 |

Moves the build process for
teleportandteleport.efrom Webpack to Vite. This is still a draft as I'm sure there are some bugs to iron out.Example commands
Build Teleport
As normal -
Develop Teleport
Instead of passing through
--target, you need to specify your target viaPROXY_TARGET. If you're running a proxy locally atlocalhost:3080, you don't need to specifyPROXY_TARGET.When running the dev server locally, it will try and look for certificates in
web/certs. Please follow the instructions inweb/README.mdto configure HTTPSIf you use my development environment, you can switch over to the
vitebranch to test this out.